Differences From Artifact [ba4c14a79b]:
- File filed.c — part of check-in [7e211d072e] at 2014-02-12 06:11:22 on branch trunk — Updated to use time to ensure that a duplicate ETag is never generated (user: rkeene, size: 33487) [annotate] [blame] [check-ins using]
To Artifact [64aa094753]:
- File filed.c — part of check-in [dd737cd8c7] at 2014-02-12 17:42:15 on branch trunk — Fixed NULL pointer dereference and also possible buffer overflow processing HTTP request, created in [8cb189c633] (user: rkeene, size: 33551) [annotate] [blame] [check-ins using]
︙ | |||
678 679 680 681 682 683 684 685 686 687 688 689 690 691 | 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | + + + | } else { /* HEAD request */ buffer_st->method = FILED_REQUEST_METHOD_HEAD; } /* Note path */ strcpy(buffer_st->path, path); /* Reset buffer for later use */ buffer = buffer_st->tmpbuf; for (i = 0; i < 100; i++) { fgets_ret = fgets(buffer, buffer_len, fp); if (fgets_ret == NULL) { break; } |
︙ |