]> granicus.if.org Git - curl/commit
Curl_nss_connect: avoid PATH_MAX
authorDaniel Stenberg <daniel@haxx.se>
Sun, 2 Jan 2011 22:41:49 +0000 (23:41 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 2 Jan 2011 22:43:03 +0000 (23:43 +0100)
commit2b3fbc8cdb3ddaec159d4ad693474eb84e5ee34d
treecbb95e4e51826e10afe7e1c726295c9fe1e7f16f
parent1ad5764febe5d7be57e18014e17a60fd2f2d553b
Curl_nss_connect: avoid PATH_MAX

Since some systems don't have PATH_MAX and it isn't that clever to
assume a fixed maximum path length, the code now allocates buffer space
instead of using stack.

Reported by: Samuel Thibault
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608521
lib/nss.c