aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/nginx.pm
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-03-15 11:23:07 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-03-15 11:23:07 +0000
commit030e235ec70868469cb6aaf01f25fc29d579e028 (patch)
tree04c937dbec32f2b6c56041bf59d26692bd059f30 /src/http/modules/perl/nginx.pm
parent205394e6f90c8aa2aac000e46d4b7a1eff5bbfd2 (diff)
downloadnginx-030e235ec70868469cb6aaf01f25fc29d579e028.tar.gz
nginx-030e235ec70868469cb6aaf01f25fc29d579e028.zip
Fixed ssi and perl interaction.
Embedded perl module assumes there is a space for terminating NUL character, make sure to provide it in all situations by allocating one extra byte for value buffer. Default ssi_value_length is reduced accordingly to preserve 256 byte allocations. While here, fixed another one byte value buffer overrun possible in ssi_quoted_symbol_state. Reported by Matthew Daley.
Diffstat (limited to 'src/http/modules/perl/nginx.pm')
0 files changed, 0 insertions, 0 deletions