RFR(xs): 8155574: ClassLoader::initialize_module_loader_map crashes if the char_buf is not NULL terminated

Jiangli Zhou jiangli.zhou at oracle.com
Fri May 6 04:03:41 UTC 2016


Hi Calvin,

Looks good.

Thanks,
Jiangli

> On May 5, 2016, at 11:20 AM, Calvin Cheung <calvin.cheung at oracle.com> wrote:
> 
> 
> Please review this small change for fixing char_buf may not be NULL terminated.
> Instead of finding the length of char_buf by using strlen(), this fix uses the size returned from JImageFindResource().
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8155574
> webrev: http://cr.openjdk.java.net/~ccheung/8155574/webrev.00/
> 
> Testing:
>    JPRT
>    RBT on hotspot_runtime
> 
> thanks,
> Calvin



More information about the hotspot-runtime-dev mailing list