summaryrefslogtreecommitdiffstats
path: root/package/curl/curl-7.13.1-2005-3185.patch
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-07 03:58:30 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-07 03:58:30 +0000
commit1f92831170d5be9cb0511f6f9360d3c2daf3d24c (patch)
tree831eb1a20f5213fa08ba2d7b39c932aaefd70449 /package/curl/curl-7.13.1-2005-3185.patch
parent0a41ba39e26b08d9a000a917eeccd948e9da12a7 (diff)
downloadbuildroot-novena-1f92831170d5be9cb0511f6f9360d3c2daf3d24c.tar.gz
buildroot-novena-1f92831170d5be9cb0511f6f9360d3c2daf3d24c.zip
Add new packages.
Diffstat (limited to 'package/curl/curl-7.13.1-2005-3185.patch')
-rw-r--r--package/curl/curl-7.13.1-2005-3185.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/curl/curl-7.13.1-2005-3185.patch b/package/curl/curl-7.13.1-2005-3185.patch
new file mode 100644
index 000000000..1df6dcee5
--- /dev/null
+++ b/package/curl/curl-7.13.1-2005-3185.patch
@@ -0,0 +1,16 @@
+--- curl-7.13.1/lib/http_ntlm.c.2005-3185 2005-02-22 13:10:30.000000000 +0100
++++ curl-7.13.1/lib/http_ntlm.c 2005-10-19 15:18:42.165859528 +0200
+@@ -534,6 +534,13 @@
+ size=64;
+ ntlmbuf[62]=ntlmbuf[63]=0;
+
++ /* Make sure that the user and domain strings fit in the target buffer
++ before we copy them there. */
++ if(size + userlen + domlen >= sizeof(ntlmbuf)) {
++ failf(conn->data, "user + domain name too big");
++ return CURLE_OUT_OF_MEMORY;
++ }
++
+ memcpy(&ntlmbuf[size], domain, domlen);
+ size += domlen;
+