mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
elf: Fix use-after-free in ldconfig [BZ #26779]
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
342cc934a3
commit
03ad86880f
@ -735,9 +735,9 @@ manual_link (char *library)
|
||||
create_links (real_path, path, libname, soname);
|
||||
free (soname);
|
||||
out:
|
||||
free (path);
|
||||
if (path != real_path)
|
||||
free (real_path);
|
||||
free (path);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user