]> granicus.if.org Git - apache/commit
Replace strdup by ap_malloc to ensure a proper error message if out-of-memory.
authorStefan Fritsch <sf@apache.org>
Tue, 25 Dec 2012 20:43:15 +0000 (20:43 +0000)
committerStefan Fritsch <sf@apache.org>
Tue, 25 Dec 2012 20:43:15 +0000 (20:43 +0000)
commit8ee1c0a5d794bed55fe0bc99fc4cbb26567f9ead
treeb55e846b9ea738d2d0cc367150310ae12172a492
parent72ba8363435843a68481566d815ef6fe5630a397
Replace strdup by ap_malloc to ensure a proper error message if out-of-memory.
While there, only allocate memory for the string part we actually use.

PR: 54345

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425771 13f79535-47bb-0310-9956-ffa450edef68
server/config.c