diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-30 21:43:30 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-30 21:43:30 +0300 |
| commit | d4cd59c17b003dfbc121e48473dd2604e76c7fdf (patch) | |
| tree | 4769f196ba264fbae36a6ebb74817d2e3dfe7fc2 /src/os/unix/ngx_files.c | |
| parent | 440759bd6622c3db4ebf3ad60b497f0eaec203dd (diff) | |
| download | nginx-d4cd59c17b003dfbc121e48473dd2604e76c7fdf.tar.gz nginx-d4cd59c17b003dfbc121e48473dd2604e76c7fdf.tar.bz2 | |
Fixed ngx_parse_time() out of bounds access (ticket #821).
The code failed to ensure that "s" is within the buffer passed for
parsing when checking for "ms", and this resulted in unexpected errors when
parsing non-null-terminated strings with trailing "m". The bug manifested
itself when the expires directive was used with variables.
Found by Roman Arutyunyan.
Diffstat (limited to 'src/os/unix/ngx_files.c')
0 files changed, 0 insertions, 0 deletions
