Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/libexec/ld.elf_so



Module Name:    src
Committed By:   christos
Date:           Tue Mar 21 17:48:10 UTC 2006

Modified Files:
        src/libexec/ld.elf_so: load.c map_object.c rtld.c rtld.h search.c

Log Message:
Coverity CID 2749: Fix another double free. Instead of removing that last
free() call, change the allocation policy to leave the responsibility for
allocation/freeing the pathname to _rtld_map_object(), instead of having
the caller allocate it and _rtld_map_object() free it. This simplifies the
code a lot and it is more efficient.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/libexec/ld.elf_so/load.c
cvs rdiff -r1.33 -r1.34 src/libexec/ld.elf_so/map_object.c
cvs rdiff -r1.109 -r1.110 src/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.71 -r1.72 src/libexec/ld.elf_so/rtld.h
cvs rdiff -r1.20 -r1.21 src/libexec/ld.elf_so/search.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index