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: Todd C. Miller (millertcvs.openbsd.org)
Date: Mon Nov 15 2010 - 14:26:01 CST


CVSROOT: /cvs
Module name: src
Changes by: millertcvs.openbsd.org 2010/11/15 13:26:01

Modified files:
        usr.bin/sed : compile.c

Log message:
NUL-terminate buffer in compiler_text() after realloc, not before.
Now that we have dynamically sized buffers there may not be room
for the NUL until after realloc.