Check-in [8cb189c633]
Overview
Comment:Removed unneeded assignment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8cb189c6334d770f103cde25ef818a7f1e1cbb7e
User & Date: rkeene on 2014-02-11 05:53:56
Other Links: manifest | tags
References
2014-02-12
17:42
Fixed NULL pointer dereference and also possible buffer overflow processing HTTP request, created in [8cb189c633] check-in: dd737cd8c7 user: rkeene tags: trunk
Context
2014-02-11
07:43
Updated to support the HEAD HTTP method check-in: 5a054ee091 user: rkeene tags: trunk
05:53
Removed unneeded assignment check-in: 8cb189c633 user: rkeene tags: trunk
05:52
Updated to actually set fgets_ret, oops check-in: 299fa6a68f user: rkeene tags: trunk
Changes

Modified filed.c from [169b29728a] to [8c74e1e76e].

   601    601   		return(NULL);
   602    602   	}
   603    603   
   604    604   	/* Note path */
   605    605   	strcpy(buffer_st->path, path);
   606    606   
   607    607   	for (i = 0; i < 100; i++) {
   608         -		buffer = buffer_st->tmpbuf;
   609    608   		fgets_ret = fgets(buffer, buffer_len, fp);
   610    609   		if (fgets_ret == NULL) {
   611    610   			break;
   612    611   		}
   613    612   
   614    613   		if (strncasecmp(buffer, "Range: ", 7) == 0) {
   615    614   			workbuffer = buffer + 7;