diff options
author | gbMattN <matthew.nagy@sony.com> | 2025-09-18 16:11:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-18 16:11:46 +0100 |
commit | adaf5ba6791e7b32dd6dca2f857d588a5304d7e7 (patch) | |
tree | 88022cf64850b2292649fa0e38807eed88c1ea0e /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9b681ea50d1864c15bb4ff2d302caf4e973c8c71 (diff) | |
download | llvm-adaf5ba6791e7b32dd6dca2f857d588a5304d7e7.zip llvm-adaf5ba6791e7b32dd6dca2f857d588a5304d7e7.tar.gz llvm-adaf5ba6791e7b32dd6dca2f857d588a5304d7e7.tar.bz2 |
Fix possible underflow in ParseAndSetPath (#159389)
If an empty path is passed, the internal_strlen -1 below will loop round
to become uptr max. Adding this check ensures that this would be caught
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions