diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-18 23:34:25 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-18 23:34:25 +0000 |
commit | 659b5fdc5084938793985e407178d72b9dcc23c7 (patch) | |
tree | 043356ebde304537f7adaf4f3bab7acac496cba7 | |
parent | f32ea04f8977c126d84045a69da156a3c43e467b (diff) | |
download | uhttpd-659b5fdc5084938793985e407178d72b9dcc23c7.tar.gz |
[package] uhttpd: fix bad pointer use in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/package/uhttpd/src@28257 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | uhttpd-cgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uhttpd-cgi.c b/uhttpd-cgi.c index 2f94fe2..16bfda7 100644 --- a/uhttpd-cgi.c +++ b/uhttpd-cgi.c @@ -42,7 +42,7 @@ static struct http_response * uh_cgi_header_parse(char *buf, int len, int *off) bufptr = &buf[0]; - for( pos = 0; pos < off; pos++ ) + for( pos = 0; pos < *off; pos++ ) { if( !hdrname && (buf[pos] == ':') ) { |