aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2025-09-24 07:41:06 -0700
committerGitHub <noreply@github.com>2025-09-24 07:41:06 -0700
commit06a5834aa849d85892d1b2cb6d41bfa9f15d4cef (patch)
treede65145761bfa219e49fe689ea4de3d6da350b93 /lldb/packages/Python/lldbsuite/test/configuration.py
parent9ff8f379f4ad3e8021abe03bbf09439c421d2bcc (diff)
downloadllvm-06a5834aa849d85892d1b2cb6d41bfa9f15d4cef.zip
llvm-06a5834aa849d85892d1b2cb6d41bfa9f15d4cef.tar.gz
llvm-06a5834aa849d85892d1b2cb6d41bfa9f15d4cef.tar.bz2
[Remarks] YAMLRemarkSerializer: StringRef-ize apis to avoid out-of-bounds read footguns (#160397)
In #159759, Tobias identified that because YAML IO `mapRequired` expected a null-terminated `const char * Key`, we couldn't legally pass a `StringRef` to it, as that might be length-terminated and not null-terminated. In this patch, we move all of the YAML IO functions that accept a `const char *` over to `StringRef`, avoiding that footgun altogether.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions