Fix mem leak in ssi expression parser (#1753), thx Take5k
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2289 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
5194c28220
commit
438626667c
1
NEWS
1
NEWS
|
@ -55,6 +55,7 @@ NEWS
|
|||
* fixed bug with case-insensitive filenames in mod_userdir (#1589), spotted by "anders1"
|
||||
* fixed format string bugs in mod_accesslog for SYSLOG
|
||||
* replaced fprintf with log_error_write in fastcgi debug
|
||||
* fixed mem leak in ssi expression parser (#1753), thx Take5k
|
||||
|
||||
- 1.4.19 - 2008-03-10
|
||||
|
||||
|
|
|
@ -105,12 +105,13 @@ expr(A) ::= value(B). {
|
|||
}
|
||||
|
||||
value(A) ::= VALUE(B). {
|
||||
A = buffer_init_string(B->ptr);
|
||||
A = B;
|
||||
}
|
||||
|
||||
value(A) ::= value(B) VALUE(C). {
|
||||
A = B;
|
||||
buffer_append_string_buffer(A, C);
|
||||
buffer_free(C);
|
||||
}
|
||||
|
||||
cond(A) ::= EQ. { A = SSI_COND_EQ; }
|
||||
|
|
Loading…
Reference in New Issue