summaryrefslogtreecommitdiff
path: root/compiler/optimizing/loop_analysis.cc
diff options
context:
space:
mode:
author shivam tiwari <shivam.tiwari00021@gmail.com> 2025-01-27 00:47:32 -0800
committer Stefano Cianciulli <scianciulli@google.com> 2025-02-12 05:35:20 -0800
commit632aaa397e2979864a37c4526e373165d1eb2caa (patch)
tree996d9cf618fdb83bb2bceb3e6cb3244fffb58151 /compiler/optimizing/loop_analysis.cc
parentb53c968c4b4218cbee554de3ad1c9c630a9b6b2e (diff)
Potential buffer overflow in environment local storage
strcpy can potentially cause a buffer overflow if the length of options exceeds the allocated buffer size. strlen(options) + 1 ensures that the buffer is large enough to hold the string options plus the null terminator Change-Id: Id04367df0eef575da258ed1c917aa879b2966013
Diffstat (limited to 'compiler/optimizing/loop_analysis.cc')
0 files changed, 0 insertions, 0 deletions