Hi Ivan,

the url(http://cr.openjdk.java.net/~igerasim/8202558/00/webrev/ ) is not accessible to me.

Thanks,

Vyom


On Thursday 03 May 2018 01:51 AM, Ivan Gerasimov wrote:
I just realized that we've got a similar issue in the same file in the function initLocalIfs().

The webrev was updated in place to fix this issue as well.

With kind regards,

Ivan


On 5/2/18 12:54 PM, Ivan Gerasimov wrote:
Hello!

The function needsLoopbackRoute() calls initLoopbackRoutes() to initialize two global variables: loRoutes and nRoutes.

If realloc() fails at line 582 then loRoutes is freed, but nRoutes is left positive.

Then, in needsLoopbackRoute() the already freed memory will be accessed.

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8202558
WEBREV: http://cr.openjdk.java.net/~igerasim/8202558/00/webrev/

Thanks!


Reply via email to