OpenBSD CVS

CVS log for src/usr.bin/nm/elf.c


[BACK] Up to [local] / src / usr.bin / nm

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_1


Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 8 03:50:49 2007 UTC (17 years, 4 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.15: +3 -12 lines
Diff to previous 1.15 (colored)

Do all allocation and deallocation of shstr in elf_symload() to
prevent double-freeing shstr.

Also don't free known NULL values (*pnames and *psnames).

Initially inspired by Charles Longeau's first diff to tech@; he
later sent a second diff to tech@ nearly identical to this commit.
Freaky.

OK mickey@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.