Re: RFR: JDK-8007606

2013-02-08 Thread John Zavgren
Greetings: I fixed numerous errors that were identified by Mr. Davidovich. I've posed a new webrev image at: http://cr.openjdk.java.net/~jzavgren/8007606/webrev.02/ Thanks! John Zavgren On 02/05/2013 07:33 PM, Vitaly Davidovich wrote

Re: RFR: JDK-8007606

2013-02-05 Thread Vitaly Davidovich
Hi John, In NetworkInterface.c: 162 ret = (MIB_IFROW *) malloc(sizeof(MIB_IFROW)); 163 if(ret == NULL) 164 return NULL; tableP is left dangling if line 164 runs, no? 222 if (ret != NO_ERROR) { 223 if (tableP != NULL) { 224 free(tableP);

RFR: JDK-8007606

2013-02-05 Thread John Zavgren
Greetings: I modified the use of malloc() and realloc() so that return values are checked and potential memory leaks and data corruption problems are prevented. http://cr.openjdk.java.net/~jzavgren/8007606/webrev.01/ Thanks! John Zavgren