diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-17 19:43:03 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-17 20:16:57 +0100 |
| commit | 719fed2b1342a46b3cc9887ff8c34703dcc83857 (patch) | |
| tree | 07d8655fc074c307956bfcc342effebb8d818167 /libdecor/src/plugins/common | |
| parent | 6b9fb46b966f8c134004f75ec1b386ba7c6ef586 (diff) | |
Windows: fix "heap-use-after-free" in home_directory_name()
Calling getenv() twice with different output vars and accessing both
later could cause "heap-use-after-free" error in some Windows versions.
The result of home_directory_name() would be unpredictable.
Found using Wine and/or MSYS2/clang/libc++ with Address Sanitizer.
Diffstat (limited to 'libdecor/src/plugins/common')
0 files changed, 0 insertions, 0 deletions
