[all-commits] [llvm/llvm-project] 0a09c1: [scudo][standalone] Add missing va_end() in Scope...
Kostya Kortchinsky via All-commits
all-commits at lists.llvm.org
Wed Dec 2 16:15:41 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a09c1cc9dcbec8126344123e9481bed6524e5ec
https://github.com/llvm/llvm-project/commit/0a09c1cc9dcbec8126344123e9481bed6524e5ec
Author: Kostya Kortchinsky <kostyak at google.com>
Date: 2020-12-02 (Wed, 02 Dec 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/string_utils.cpp
Log Message:
-----------
[scudo][standalone] Add missing va_end() in ScopedString::append
In ScopedString::append va_list ArgsCopy is created but never cleanuped
which can lead to undefined behaviour, like stack corruption.
Reviewed By: cryptoad
Differential Revision: https://reviews.llvm.org/D92383
More information about the All-commits
mailing list