Download tasks/csa159/pair_134585/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_134585/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/csa159/pair_134585/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_134585/patch.diff
446 Bytes
| diff --git a/src/lib/Libdis/disrsi_.c b/src/lib/Libdis/disrsi_.c | |
| index 69edd2803..154514c27 100644 | |
| --- a/src/lib/Libdis/disrsi_.c | |
| +++ b/src/lib/Libdis/disrsi_.c | |
| int disrsi_( | |
| if (dis_umaxd == 0) | |
| disiui_(); | |
| + if (count >= dis_umaxd) | |
| + { | |
| + if (count > dis_umaxd) | |
| + goto overflow; | |
| + | |
| + if (memcmp(scratch, dis_umax, dis_umaxd) > 0) | |
| + goto overflow; | |
| + } | |
| + | |
| switch (c = (*dis_getc)(stream)) | |
| { |