<Swing Dev> RFR: 8203499 Uninitialised memory in WinAccessBridge.cpp

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jun 5 20:57:57 UTC 2018


Looks fine.

On 05/06/2018 13:24, Phil Race wrote:
> Bug: Uninitialised memory in WinAccessBridge.cpp:485
> webrev: http://cr.openjdk.java.net/~prr/8203499/
> 
> element is not initialised on declaration.
> 
> It should be initialised when its address is passed here
> messageQueue->remove(&element);
> 
> but it is too hard to prove, so just initialise it to NULL .. and remove 
> DEBUG code which will SEGV if it is NULL.
> 
> -phil.


-- 
Best regards, Sergey.



More information about the swing-dev mailing list