Przeglądaj źródła

[Minor] Fix OOB read

tags/2.0
Vsevolod Stakhov 4 lat temu
rodzic
commit
28a7756cb0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/libserver/url.c

+ 1
- 1
src/libserver/url.c Wyświetl plik

@@ -2235,7 +2235,7 @@ url_file_start (struct url_callback_data *cb,
{
match->m_begin = pos;

if (pos > cb->begin - 1) {
if (pos > cb->begin) {
match->st = *(pos - 1);
}
else {

Ładowanie…
Anuluj
Zapisz