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
602
603
604
605
606
607
608
609
610
611
612
613
614
615
601
602
603
604
605
606
607

608
609
610
611
612
613
614







-







		return(NULL);
	}

	/* Note path */
	strcpy(buffer_st->path, path);

	for (i = 0; i < 100; i++) {
		buffer = buffer_st->tmpbuf;
		fgets_ret = fgets(buffer, buffer_len, fp);
		if (fgets_ret == NULL) {
			break;
		}

		if (strncasecmp(buffer, "Range: ", 7) == 0) {
			workbuffer = buffer + 7;