Mintsuki
|
d3456116ac
|
lib/getchar: Deduplicate timer event recreation in ESC handler using restart label
|
2026-04-19 00:35:14 +02:00 |
|
Mintsuki
|
851352d7d1
|
lib/misc: Fix out-of-bounds reads in get_absolute_path backward scans
|
2026-04-19 00:35:14 +02:00 |
|
Mintsuki
|
0556f4bfb4
|
lib/config: Re-examine shifted character after whitespace/CR removal
|
2026-04-19 00:35:14 +02:00 |
|
Mintsuki
|
05e8144c9b
|
lib/elf: Avoid undefined pointer arithmetic in relocation patching
|
2026-04-19 00:35:14 +02:00 |
|
Mintsuki
|
1511a8dc95
|
lib/elsewhere: Skip past source range on overlap instead of advancing one page
|
2026-04-19 00:35:14 +02:00 |
|
Mintsuki
|
4b057bcc88
|
lib/bli: fix various bugs in timeout and entry control
|
2026-04-19 00:30:53 +02:00 |
|
programmerlexi
|
959f763a9f
|
lib/bli: implement entry control
|
2026-04-19 00:30:19 +02:00 |
|
programmerlexi
|
bc5d1e4b8f
|
lib/bli: implement timeout control
|
2026-04-19 00:30:19 +02:00 |
|
Mintsuki
|
104399fe43
|
lib/misc: Remove dead overflow check in ALIGN_UP macro
|
2026-04-19 00:27:41 +02:00 |
|
Mintsuki
|
b2cc8b74a6
|
lib/elf: Fix section header table size check falsely rejecting valid ELFs
|
2026-04-19 00:27:31 +02:00 |
|
Mintsuki
|
44b8493555
|
lib/gterm: Fix NULL dereference in gterm_init cached path
|
2026-04-19 00:27:01 +02:00 |
|
Mintsuki
|
0e6b0e9aac
|
lib/image: Fix incorrect free of stbi-allocated buffer corrupting memmap
|
2026-04-19 00:25:29 +02:00 |
|
Mintsuki
|
12d3dbf7de
|
lib/term: Reset ConOut when falling back from graphical terminal
|
2026-04-19 00:24:04 +02:00 |
|
Mintsuki
|
a01a3c0f17
|
lib/panic: Re-enable autoflush before printing
|
2026-04-19 00:20:24 +02:00 |
|
Mintsuki
|
9232247312
|
lib/fb: Do not clear framebuffer on mode set in quiet mode
|
2026-04-09 13:07:12 +02:00 |
|
Mintsuki
|
df4c3ecc1b
|
lib/gterm: Do not clear framebuffer on mode set as Flanterm immediately repaints it
|
2026-04-09 13:07:12 +02:00 |
|
Mintsuki
|
e7b5bbbdff
|
lib/term: Sync ConOut cursor position in UEFI fallback terminal init
|
2026-04-06 19:04:22 +02:00 |
|
Mintsuki
|
bfe3544c13
|
lib/misc: Use overflow-checked multiply in ALIGN_UP macro
|
2026-04-04 15:34:07 +02:00 |
|
Mintsuki
|
a24f496c2e
|
Revert "misc: Enforce hash verification when UEFI Secure Boot is active"
This reverts commit 9e2f3e7587.
|
2026-04-04 15:02:58 +02:00 |
|
Mintsuki
|
3f3a748d42
|
Revert "misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement"
This reverts commit 4793ace8b2.
|
2026-04-04 15:02:58 +02:00 |
|
Mintsuki
|
4793ace8b2
|
misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement
|
2026-04-02 23:13:39 +02:00 |
|
Mintsuki
|
9e2f3e7587
|
misc: Enforce hash verification when UEFI Secure Boot is active
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
97c595de07
|
lib/gterm: Avoid nested CHECKED_MUL calls to fix -Wshadow
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
b0152c9a67
|
lib/elf: Validate section header bounds in elf_section_hdr_info functions
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
35ade5f557
|
misc: Remove unnecessary casts in CHECKED_ADD/CHECKED_MUL calls
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
a758e57880
|
lib/misc: Check for overflow in DTB reallocation size
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
b84876aed7
|
lib/gterm: Check for overflow in font size calculation
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
18848b6f4a
|
lib/gterm, lib/image: Check for overflow in canvas and image size calculations
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
b4f336d098
|
lib/config: Validate hex characters in config checksum
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
dda61b00fa
|
lib/config: Reject config file too large for size_t
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
003f01fff0
|
lib/rand: Make sure that, on x86-64, 64-bit rdrand/rdseed is always done over 32-bit
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
658906f085
|
lib/elf: Consistently NULL-check is_reloc before dereference
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
5df9958154
|
lib/pe: Validate SizeOfOptionalHeader is large enough
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
dd2354bae9
|
sys/cpu: Add retry limit to rdrand/rdseed macros
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
91e5e5668f
|
lib/elf: Add file_size parameter to elf_bits for bounds checking
|
2026-04-02 22:21:54 +02:00 |
|
Mintsuki
|
74ddd08758
|
lib/rand: Mix hardware entropy on non-x86 via RNDR and EFI RNG protocol
|
2026-04-02 01:44:59 +02:00 |
|
Mintsuki
|
01186e2051
|
lib/pe: Use uint64_t for sections offset calculation to prevent 32-bit overflow
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
33bc059f6d
|
lib/elf: Validate image size fits address space in elf64_load_elsewhere
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
1c2942c5f8
|
lib/part: Check for overflow in cache block size calculation
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
ca253330a8
|
lib/elsewhere: Add bounds check to elsewhere_append
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
7041ea96c0
|
lib/gterm, lib/image: Reject zero font scale and zero-dimension images
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
9e8d1cee14
|
mm/pmm: Check for overflow in UEFI memmap AllocatePool size
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
f4ce0420c0
|
lib/elf: Validate file bounds in relocation engine and vaddr translation
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
1b5b8e4620
|
misc: Add CHECKED_MUL macro, use it for all overflow-checked multiplications
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
eb071a0121
|
misc: Add overflow checking to ALIGN_UP and DIV_ROUNDUP macros
|
2026-04-02 01:44:58 +02:00 |
|
Mintsuki
|
d7f0160ddc
|
mm/pmm: Add ext_mem_alloc_counted(), use it everywhere for checked array allocations
|
2026-03-31 15:31:50 +02:00 |
|
Mintsuki
|
cc586e6cc0
|
misc: Use CHECKED_ADD for overflow-checked additions
|
2026-03-31 15:31:50 +02:00 |
|
Mintsuki
|
3a73ecf5bd
|
mm: Add CHECKED_ADD macro, use it for all base+length computations
|
2026-03-31 15:31:50 +02:00 |
|
Mintsuki
|
ca6d469dc2
|
lib/term: Do not call ClearScreen() on EFI fallback output init
|
2026-03-30 19:45:52 +02:00 |
|
Mintsuki
|
b29b11ce6d
|
Reapply "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 12841527e9.
|
2026-03-30 19:44:19 +02:00 |
|