mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
perf strlist: Don't write to const memory
Do a strdup to the list string and parse from it, free at the end. This is to deal with newer glibcs const-correctness. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
b42868624c
commit
678ed6b707
1 changed files with 8 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue