]> granicus.if.org Git - curl/commit
check for NULL returns from strdup() - reported by Jim Meyering
authorDaniel Stenberg <daniel@haxx.se>
Fri, 14 Nov 2008 16:42:05 +0000 (16:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Nov 2008 16:42:05 +0000 (16:42 +0000)
commita65ce7b107a93d0f83fc91a6b0d67c93cec4caa4
tree4291325215285bbacd1b828bd03e666bc0a76086
parent2249c12a3c2737e50d81962040dd36990aa16600
check for NULL returns from strdup() - reported by Jim Meyering
also prevent buffer overflow on MSDOS when you do for example -O on a url
with a file name part longer than PATH_MAX letters
src/main.c