Source-Changes archive

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

CVS commit: [netbsd-4] src/lib/libc/resolv



Module Name:    src
Committed By:   bouyer
Date:           Mon May  9 19:37:30 UTC 2011

Modified Files:
        src/lib/libc/resolv [netbsd-4]: res_init.c

Log Message:
Pull up following revision(s) (requested by taca in ticket #1429):
        lib/libc/resolv/res_init.c:     revisions 1.11, 1.12 via patch
Don't check for ext being NULL to destroy the res_state. Instead check
the option bits like we did before.
Only try free-ing a version of res if it is not supposed to be pre-inited
like before. Fixes issues with programs passing random uninitialized data
as res_state.


To generate a diff of this commit:
cvs rdiff -u -r1.8.4.3 -r1.8.4.4 src/lib/libc/resolv/res_init.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