SAPI.c: strange strlcpy logic

From: Date: Sun, 27 Aug 2000 09:43:09 +0000
Subject: SAPI.c: strange strlcpy logic
Groups: php.dev 
Request: Send a blank email to php-dev+get-30803@lists.php.net to get a copy of this message
Around line 415: newlen += sizeof("Content-type: "); newheader = emalloc(newlen); strlcpy(newheader, "Content-type: ", newlen); strlcpy(newheader, mimetype, newlen); Has this ever worked? The second strlcpy should probably be a strlcat. - Sascha

« previous php.dev (#30803) next »