3548 Commits

Author SHA1 Message Date
Mintsuki
1a0ae0323c menu: Ignore empty INTERFACE_HELP_COLOUR config value 2026-02-10 11:10:02 +01:00
Mintsuki
4d93ae7222 menu: Guard tree_prefix_len against unsigned underflow with wide entries 2026-02-10 11:10:02 +01:00
Mintsuki
299ec0c530 fs/iso9660: Panic on read beyond end of file instead of returning partial data 2026-02-10 11:10:02 +01:00
Mintsuki
4233a3424b lib/gterm: Add missing parentheses in ARGB macro 2026-02-10 11:10:02 +01:00
Mintsuki
6408d957ee host/limine: Fix signature search missing matches after partial prefix overlap 2026-02-10 11:10:02 +01:00
Mintsuki
0bb63fa2c3 lib/real: Parenthesise macro arguments in rm_seg/rm_off 2026-02-10 11:10:02 +01:00
Mintsuki
d9a4c1de89 lib/uri: Initialize *hash output parameter in uri_resolve 2026-02-10 11:10:02 +01:00
Mintsuki
7976e0036c lib/acpi: Fall back to RSDT when XSDT is above 4 GiB on 32-bit 2026-02-10 11:10:02 +01:00
Mintsuki
e55510f67a lib/config: Fix off-by-one read past end in macro definition skip 2026-02-10 11:10:02 +01:00
Mintsuki
56834be34b pxe/tftp: Fix byte-order conversion for server port 2026-02-10 11:10:02 +01:00
Mintsuki
4d49354237 fs/iso9660: Remove unreachable fallback code after while(true) loop 2026-02-10 11:10:02 +01:00
Mintsuki
2cb1c2d109 lib/acpi: Use memcpy for unaligned FADT field reads 2026-02-10 11:10:02 +01:00
Mintsuki
00a542f0c6 misc: Fix wrong format specifiers for 64-bit arguments in print calls 2026-02-10 11:10:02 +01:00
Mintsuki
8bf787fa10 protos/multiboot: Cast size_t to uint32_t for custom printf %u format 2026-02-10 11:10:02 +01:00
Mintsuki
ebde1ee086 sys/smp: Send two SIPIs per Intel SDM recommendation for AP startup 2026-02-10 11:10:02 +01:00
Mintsuki
b5eae051b4 protos/linux_x86: Honour kernel_alignment field from boot protocol header 2026-02-10 11:10:02 +01:00
Mintsuki
d1ca6025cd protos/linux_risc: Allocate EFI config tables as EfiLoaderData instead of EfiLoaderCode 2026-02-10 11:10:02 +01:00
Mintsuki
afcb65619a protos/limine: Fix TCR_EL1 shareability comments to match actual values 2026-02-10 11:10:02 +01:00
Mintsuki
567a03ecbc mm/vmm: Use firmware-reported MMU type instead of satp probe on RISC-V 2026-02-10 11:10:02 +01:00
Mintsuki
acfb614165 lib/elf, lib/pe: Reject non-power-of-2 alignment values 2026-02-10 11:10:02 +01:00
Mintsuki
8a7e073581 lib/pe: Validate OptionalHeader.Magic against PE32+ before parsing 2026-02-10 11:10:02 +01:00
Mintsuki
f786744b1e host/limine: Guard secondary GPT nuke against alternate_lba underflow 2026-02-10 11:10:02 +01:00
Mintsuki
5041166319 host/limine: Bounds-check GPT partition entry offset arithmetic for overflow 2026-02-10 11:10:02 +01:00
Mintsuki
95649d448d lib/term: Set terms to NULL after freeing in fallback fail path 2026-02-10 11:10:02 +01:00
Mintsuki
5aeaa2a2be sys/smp: Revert AArch64 trampoline allocation to smp_trampoline_size 2026-02-10 11:10:02 +01:00
Mintsuki
da98c40f18 sys/smp: Fix mismatched adrp/add label in AArch64 SMP trampoline EL2 path 2026-02-10 11:10:02 +01:00
Mintsuki
16756f0516 menu: Reject terminals with fewer than 40 columns or 16 rows 2026-02-10 11:10:02 +01:00
Mintsuki
a2ce1aa41e stage1/hdd: Zero-extend bytes_per_sect to full EBP to fix 32-bit division 2026-02-10 11:10:02 +01:00
Mintsuki
4b59ef82e0 protos/limine: Fix base revision duplicate detection for revision 0 2026-02-10 11:10:02 +01:00
Mintsuki
564603db21 fs/fat32: Remove unused size_clusters field 2026-02-10 11:10:02 +01:00
Mintsuki
5d61aa8546 host/limine: Fix IS_WINDOWS preprocessor precedence to correctly exclude Cygwin 2026-02-10 11:10:02 +01:00
Mintsuki
87fe3863db lib/pe: Reject 32-bit relocations in higher-half PE images 2026-02-10 11:10:02 +01:00
Mintsuki
e4c5486ff0 lib/bli: Pass actual string size to SetVariable instead of full buffer size 2026-02-10 11:10:02 +01:00
Mintsuki
81274941db protos/linux_risc: Fix wrong format specifiers for 64-bit arguments in print calls 2026-02-10 11:10:02 +01:00
Mintsuki
43ba7d66d2 lib/getchar: Fix signed integer overflow in timer computation 2026-02-10 11:10:02 +01:00
Mintsuki
6dc0fa3026 menu: Fix tree_prefix free size to match allocation 2026-02-10 10:58:04 +01:00
Mintsuki
2720cb2650 lib/elf: Widen section_offset to uint64_t for ELF64 shoff 2026-02-10 10:58:04 +01:00
Mintsuki
9ff880b13e sys/cpu: Fix 32-bit multiplication overflow in tsc_freq_arch 2026-02-10 10:58:04 +01:00
Mintsuki
50b395bf02 fs/fat32: Check subdirectory attribute during path traversal 2026-02-10 10:58:04 +01:00
Mintsuki
f1adebea0d lib/elsewhere: Reject allocations above 4 GiB 2026-02-10 10:58:04 +01:00
Mintsuki
6b14238fc8 pxe/tftp: Use single variable for TFTP close seg:off pair 2026-02-10 10:58:04 +01:00
Mintsuki
ac09279d91 drivers/gop: Reject PixelBitMask modes with all-zero masks 2026-02-10 10:58:04 +01:00
Mintsuki
42cd5249b8 sys/smp: Skip AP with unrecognised PSCI method instead of panicking 2026-02-10 10:58:04 +01:00
Mintsuki
45cfdc4833 lib/config: Reset macros pointer to NULL after freeing macro list 2026-02-10 10:58:04 +01:00
Mintsuki
05ca955d2c mm/vmm: Preserve WC/FB cache attribute in x86 PT_TO_VMM_FLAGS during page splits 2026-02-10 10:58:04 +01:00
Mintsuki
ce71456f4b protos/multiboot2: Guard max_addr - length underflow in relocation preference 2026-02-10 10:58:04 +01:00
Mintsuki
7919175926 protos/multiboot2: Adjust ELF section sh_addr by reloc_slide after relocation 2026-02-10 10:58:04 +01:00
Mintsuki
30e4d660ed lib/elf: Check for p_vaddr + p_memsz overflow in PHDR processing 2026-02-10 10:58:04 +01:00
Mintsuki
e9c302085d lib/pe: Bounds-check per-entry relocation offset against image size 2026-02-10 10:58:04 +01:00
Mintsuki
9fe1386b2c protos/linux_x86: Fix initrd_addr_max overflow when computing module base 2026-02-10 10:58:04 +01:00