Source-Changes archive

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

CVS commit: [netbsd-1-6] src/gnu/dist/cvs/src



Module Name:    src
Committed By:   jmc
Date:           Sun Jan 26 09:51:29 UTC 2003

Modified Files:
        src/gnu/dist/cvs/src [netbsd-1-6]: server.c

Log Message:
Hand patch (from wiz in ticket #1099)
 * server.c (dirswitch): Don't free dir_name until right before
   allocating it again.  This removes a potential double-free problem,
   whereby this function could free dir_name and then immediately
   return due to invalid directory syntax (without ever reassigning
   dir_name), then re-enter and free dir_name again.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.6.2.1 src/gnu/dist/cvs/src/server.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