commit | c77669a3ab8a81e16b6080982447220dac1baedb | [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 | 27f1508fdb5e9be927fe0dddff9b7c69b7ad57a0 | |
parent | 7b25cbc5a3f46d4519f267878d6de3e6628e62de [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