OpenBSD CVS

CVS log for src/usr.sbin/httpd/patterns.c


[BACK] Up to [local] / src / usr.sbin / httpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 14 18:20:59 2016 UTC (8 years, 3 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

httpd patterns double free

issue and diff from Alexander Schrijver alex at flupzor nl

ok reyk@

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 18 08:26:39 2015 UTC (8 years, 9 months ago) by reyk
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

str_match() checked the return value of str_find_aux() incorrectly: it
might return a negative number; the return value of match_error()
which returns (-1). This was technically a bug, and it exists in 5.8,
but there is no impact because the error is correctly catched with the
returned non-NULL error string.

Found by Leandro Pereira

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 26 10:07:48 2015 UTC (8 years, 11 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Corrects some minors nits. Patch from Theo Buehler.

- cleanup in included headers (removing unsed assert.h, and reorder)
- one remaining '%%' in an error string corrected in '%'

while here, add sys/types.h for off_t type.

OK reyk@

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 23 15:35:20 2015 UTC (8 years, 11 months ago) by semarie
Branch: MAIN
Changes since 1.1: +2 -5 lines
Diff to previous 1.1 (colored)

remove a deprecated character class.

it was deprecated in lua code, but here the code is new. The documentation
don't mention it either.

ok reyk@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 23 15:23:14 2015 UTC (8 years, 11 months ago) by reyk
Branch: MAIN

Add initial support for pattern matching using Lua's pattern matching code.

With important help on the pattern matcher from semarie@

OK semarie@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.