Download tasks/csa159/pair_138249/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_138249/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/csa159/pair_138249/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_138249/patch.diff
562 Bytes
| diff --git a/src/decode_r2007.c b/src/decode_r2007.c | |
| index 9e821d3f..5a7449d8 100644 | |
| --- a/src/decode_r2007.c | |
| +++ b/src/decode_r2007.c | |
| read_pages_map (Bit_Chain *dat, int64_t size_comp, int64_t size_uncomp, | |
| pages_destroy (pages); | |
| return NULL; | |
| } | |
| + if (ptr + 16 > ptr_end) | |
| + { | |
| + LOG_ERROR ("Page out of bounds") | |
| + free (data); | |
| + pages_destroy (pages); | |
| + return NULL; | |
| + } | |
| page->size = bfr_read_uint64 (ptr); | |
| page->id = bfr_read_int64 (ptr); |