OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kjell Wooding (kjellcvs.openbsd.org)
Date: Wed Jun 18 2008 - 12:13:54 CDT


CVSROOT: /cvs
Module name: src
Changes by: kjellcvs.openbsd.org 2008/06/18 11:13:53

Modified files:
        usr.bin/mg : file.c

Log message:
Don't free the buffer name until after you call adjustname.
Fixes a segfault that occurs when you write a file to an alternate name.
Introduced by yours truly in 20060406. how did it last this long?