Explorar el Código

Accept invalid .torrent files.

Accept .torrent files whose bencoded dictionaries are not in
alphabetical order.
master
Brian M. Waters hace 13 años
padre
commit
382ccb7485
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. +1
    -3
      misc/benc.c

+ 1
- 3
misc/benc.c Ver fichero

@@ -233,10 +233,8 @@ benc_dget_any(const char *p, const char *key)
cmp = strncmp(bstr, key, blen);
if (cmp == 0 && len == blen)
return p;
else if (cmp <= 0)
p = benc_next(p);
else
return NULL;
p = benc_next(p);
}
return NULL;
}


Cargando…
Cancelar
Guardar