Package: indent / 2.2.12-4+deb12u3
Metadata
Package | Version | Patches format |
---|---|---|
indent | 2.2.12-4+deb12u3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
01 add missing shebang.patch | (download) |
regression/TEST |
2 1 + 1 - 0 ! |
indent shebang bug Bug-Debian: https://bugs.debian.org/1029574 |
02 restore round up macro and adjust initial buffer size.patch | (download) |
src/handletoken.c |
2 1 + 1 - 0 ! |
restore the round_up macro and adjust the initial buffer size. Bug-Debian: https://bugs.debian.org/1036851 When need_chars was moved from "handletoken.h" to "handletoken.c", the ROUND_UP macro was removed, but the replacement was incorrect. This caused the program to exit with a "Virtual memory exhausted" error when it tried to reallocate 0 bytes (thus freeing the memory). It reallocated to 0 bytes because the initial buffer size was less than 1024, and the size calculation rounds down instead of up. Bug: #56644 |
03 fix an out of buffer read.patch | (download) |
src/indent.c |
2 1 + 1 - 0 ! |
fix an out-of-buffer read in search_brace()/lexi() Bug-Debian: https://bugs.debian.org/1049366 |
04 fix a heap buffer overwrite.patch | (download) |
src/indent.c |
1 1 + 0 - 0 ! |
fix a heap buffer overwrite in search_brace() (cve-2023-40305) Bug-Debian: https://bugs.debian.org/1049366 |
05 fix a heap buffer underread in set buf break.patch | (download) |
src/output.c |
2 1 + 1 - 0 ! |
fix a heap buffer underread in set_buf_break() Bug-Debian: https://bugs.debian.org/1061543 |
1