commit | 7d85be548d69ceceaa15a31b00eb1009d8f737f8 | [log] [tgz] |
---|---|---|
author | Shafi Ahmad <shshahma@openjdk.org> | Tue Sep 20 05:40:51 2016 -0700 |
committer | Shafi Ahmad <shshahma@openjdk.org> | Tue Sep 20 05:40:51 2016 -0700 |
tree | b7b1245e5a6f525279de29d9d70a5b1253ea3a5a | |
parent | 0b6fe28b74250f7bcfeb9c461ca2843e94d18b8f [diff] |
8157548: JVM crashes sometimes while starting Behavior of strncmp may be unexpected if char buffers[s] is[are] not null terminated and buffer size is smaller than the length n. Added check to avoid this scenario. Reviewed-by: dholmes, iklam