1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/log
Zdenek Kabelac c38b668fc3 debug: fix parsing of /proc/self/stat
The code in init_log_file relies on the process name (COMM) to not
contain whitespaces. This change fixes it by looking up the right-most
parenthesis to safely jump past COMM.

For more context see:
https://www.openwall.com/lists/oss-security/2022/12/21/6

Code is only used with testing, so it should have no impact on regular
users.

Reported-by: Hugues Evrard <hevrard@google.com>

mm
2023-07-12 15:18:38 +02:00
..
log.c debug: fix parsing of /proc/self/stat 2023-07-12 15:18:38 +02:00
log.h logging: to the systemd journal 2021-10-07 12:06:49 -05:00
lvm-logging.h shell: add pre-cmd log report object type and enable lastlog for it 2022-08-22 14:06:34 +02:00