Closed kholia closed 11 years ago
Glibc basename(3) returns pointer to/within the safe_path -> http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=string/basename.c;hb=HEAD
All the stuff around basename seems unnecessary. Please, git pull -- the problem should be fixed now.
Problematic code from sidebar.c
https://github.com/karelzak/mutt-kz/blob/master/sidebar.c#L302 https://github.com/karelzak/mutt-kz/blob/master/sidebar.c#L339
"man 3 basename" says
Commenting out "free(safe_path);" line is a temporary workaround which works.
I am running Fedora 18 64-bit.