Download tasks/csa159/pair_139922/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_139922/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/csa159/pair_139922/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_139922/patch.diff
660 Bytes
| diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c | |
| index 0fb90cbe7669..e6e28a9c7987 100644 | |
| --- a/fs/btrfs/lzo.c | |
| +++ b/fs/btrfs/lzo.c | |
| int lzo_decompress_bio(struct list_head *ws, struct compressed_bio *cb) | |
| kunmap(cur_page); | |
| cur_in += LZO_LEN; | |
| + if (seg_len > lzo1x_worst_compress(PAGE_SIZE)) { | |
| + /* | |
| + * seg_len shouldn't be larger than we have allocated | |
| + * for workspace->cbuf | |
| + */ | |
| + btrfs_err(fs_info, "unexpectedly large lzo segment len %u", | |
| + seg_len); | |
| + ret = -EIO; | |
| + goto out; | |
| + } | |
| + | |
| /* Copy the compressed segment payload into workspace */ | |
| copy_compressed_segment(cb, workspace->cbuf, seg_len, &cur_in); |