[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR(S): 8067030 JDWP crash in transport_startTransport on OOM
From: Jaroslav Bachorik <jaroslav.bachorik () oracle ! com>
Date: 2014-12-11 9:07:05
Message-ID: 54895EB9.2080804 () oracle ! com
[Download RAW message or body]
Hi,
Looks good!
-JB-
On 12/11/2014 09:48 AM, Dmitry Samersoff wrote:
> Serguei,
>
> Fixed two more missed error checks (in-place, press shift-reload)
>
> http://cr.openjdk.java.net/~dsamersoff/JDK-8067030/webrev.01/
>
> -Dmitry
>
> On 2014-12-10 01:30, serguei.spitsyn@oracle.com wrote:
>> Hi Dmitry,
>>
>> The fix looks good.
>>
>> However, there are a couple of more places in that file
>> where the result of the jvmtiAllocate() is not checked:
>>
>> 68 utf8msg = (jbyte*)jvmtiAllocate(maxlen+1);
>>
>> 393 buf = jvmtiAllocate(len*3+3);
>>
>>
>> Could you fix this as well?
>>
>>
>> Thanks,
>> Serguei
>>
>>
>> On 12/9/14 11:50 AM, Dmitry Samersoff wrote:
>>> Hi Everybody,
>>>
>>> Please review small fix.
>>>
>>> http://cr.openjdk.java.net/~dsamersoff/JDK-8067030/webrev.01/
>>>
>>> JDWP crash if allocation fails because it calls strcpy before
>>> check of allocation results.
>>>
>>> -Dmitry
>>>
>>
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic