3330 Commits

Author SHA1 Message Date
Mintsuki
9be73e1032
protos/limine: Add internal module path length validation 2025-12-26 13:52:18 +01:00
Mintsuki
4bc0ca6b31
protos/linux: Add E820 entries bounds check 2025-12-26 13:51:29 +01:00
Mintsuki
3e41ea363e
lib/misc: Validate input characters in oct2bin and hex2bin 2025-12-26 13:50:31 +01:00
Mintsuki
1fa4c96bb7
lib/acpi: Add RSDT/XSDT length validation 2025-12-26 13:48:00 +01:00
Mintsuki
5fcaaff029
lib/config: Add SMBIOS structure validation and bounds checking 2025-12-26 13:45:09 +01:00
Mintsuki
3487bc14f0
lib/libc: Fix strchr and strrchr null terminator handling and add inet_pton() sanity checks 2025-12-26 13:39:27 +01:00
Mintsuki
1b5f95c2ac
drivers/vbe: Add iteration limit and EDID sanity checks 2025-12-26 13:30:13 +01:00
Mintsuki
8a0f7684a7
drivers/disk: Validate sector size and device path traversal 2025-12-26 13:27:34 +01:00
Mintsuki
134973ce00
pxe/tftp: Add validation checks and fix memory leaks 2025-12-26 13:25:29 +01:00
Mintsuki
40f84d0e77
fs, lib/part: Use builtin overflow detection for arithmetic operations 2025-12-26 11:14:57 +01:00
Mintsuki
291dc84c1a
fs/fat: Add corner case check for FAT12 filesystems 2025-12-26 02:54:15 +01:00
Mintsuki
3e5eb63856
lib/part: Add bounds checking to volume_read() function 2025-12-26 02:46:47 +01:00
Mintsuki
b9b521f48d
protos/multiboot1: Fix spurious sizeof() usage in mb1 info size calculation 2025-12-25 20:51:57 +01:00
Mintsuki
71a5cf86b1
drivers/gop: Fix current_fallback incremented before use bug 2025-12-25 20:20:42 +01:00
Mintsuki
bcf6f17ba0
pxe/tftp: Fix broken assignment for pxe_ip on EFI 2025-12-25 19:54:37 +01:00
Mintsuki
31345a3829
menu: Remove pmm_free() call which is bogus after commit 4d5bfa6af2b157b3525dc1d7043071eb02e938e8 2025-12-25 19:38:20 +01:00
Mintsuki
4d5bfa6af2
lib/config: Return pointer to static buffer from config_get_value() 2025-12-25 18:56:36 +01:00
Mintsuki
1e2b85111f
mm/pmm: Fix off-by-one in memory entry removal 2025-12-24 23:26:43 +01:00
Mintsuki
07ff25bd46
fs/file: Fix potential issue with loading very big files on 32-bit systems 2025-12-24 23:21:35 +01:00
Mintsuki
4820efdf2e
fs/file: Fix minor memory leaks on fopen() failure 2025-12-24 23:13:21 +01:00
Mintsuki
6598649c02
lib/part: Get rid of overzealous check added in 055e9a203afc988974ef9b8e919e365061470a6c 2025-12-24 23:02:09 +01:00
Mintsuki
055e9a203a
lib/part: Miscellaneous security and bug fixes 2025-12-24 22:18:11 +01:00
Mintsuki
90bc2e05e5
fs/iso9660: Miscellaneous security and bug fixes 2025-12-24 19:21:50 +01:00
Mintsuki
704510f688
fs/fat32: Miscellaneous security and bug fixes 2025-12-24 18:34:26 +01:00
Mintsuki
e60466eaf3
build: Remove edk2-ovmf directory instead of ovmf* on distclean 2025-12-24 14:13:01 +01:00
Mintsuki
efb03ff089
docs: Update ChangeLog and README.md for 10.5.0 v10.5.0 2025-12-11 06:03:17 +01:00
Mintsuki
0f0809c79a
build: Updates for new edk2-ovmf-nightly 2025-12-09 10:32:42 +01:00
iretq
990f2f7960
lib/term: Update flanterm_fb_init() call 2025-12-08 09:39:32 +01:00
iretq
aaa500ba70
lib/gterm: Support framebuffer rotation 2025-12-08 09:29:57 +01:00
Mintsuki
e6bd838bc6
menu: Fix pmm_free() call with off-by-one length 2025-12-06 15:35:46 +01:00
Mintsuki
7ee698d544
common/menu: Add new interface_help_colour global option 2025-12-06 15:32:09 +01:00
Mintsuki
22df06c057
lib/libc: Convert char to unsigned char before comparison in string comparison functions 2025-12-02 03:49:33 +01:00
Mintsuki
bf3c4a658c
lib/paths: Use strncmp() instead of memcmp() where appropriate 2025-12-02 03:48:32 +01:00
Mintsuki
4d549791e4
docs: Update ChangeLog and README.md for 10.4.0 v10.4.0 2025-11-30 01:38:45 +01:00
Mintsuki
1e43c13bb2
riscv: Simplify logic of code added in 051bb27ed09068939b3f090e4557f24493a5a738 2025-11-30 01:13:02 +01:00
Mintsuki
051bb27ed0
riscv: Prioritise CPU init with ACPI unless DTB manually overridden 2025-11-30 00:56:07 +01:00
Kacper Słomiński
02f1a8f539 sys/cpu: Flush entire I-Cache if it's not PIPT on aarch64
AArch64 permits the I-Cache be either PIPT or VIPT. In the latter
case, flush by VA might leave aliases at other VAs in the cache. I
don't expect there to be any since we're using an identity mapping at
this point, but this doesn't hurt.
2025-11-29 17:21:49 +01:00
Kacper Słomiński
afb2a8e642 lib/gterm: Add flush callback for aarch64 2025-11-29 17:21:22 +01:00
Mintsuki
8679e68efc
lib/gterm: Add flush callback for riscv64 2025-11-29 16:44:56 +01:00
Mintsuki
b029c02441
riscv: Defer init_riscv() until after config is initalised 2025-11-29 15:42:54 +01:00
Mintsuki
f4f69c315f
misc: Hard panic when global DTB fails to load 2025-11-29 15:40:54 +01:00
Mintsuki
7d90dcb97a
riscv: Fix use-after-free bug related to DTB initialisation 2025-11-29 15:37:22 +01:00
Mintsuki
1ce8ba628b
misc: Update get_device_tree_blob() logic to match config docs 2025-11-29 10:40:12 +01:00
Mintsuki
38f70a623d
build: Drop zstd and lzip release tarballs
No one really used these anyways.
2025-11-29 10:16:29 +01:00
Mintsuki
6b31249719
build: Bump Flanterm 2025-11-29 10:08:02 +01:00
Mintsuki
c1389680aa
misc: Rename config option loader_dtb_path -> global_dtb and document it 2025-11-29 10:00:44 +01:00
Mintsuki
5460569106
riscv: Do an early RISC-V init to allow checking ISA features early 2025-11-29 09:51:56 +01:00
Mintsuki
60fa408439
misc: CI fixes and improvements and version 10.3.2 v10.3.2 2025-11-23 08:54:05 +01:00
Mintsuki
e8ddc5024e
docs: Update ChangeLog and README.md for 10.3.1 v10.3.1 2025-11-23 06:13:42 +01:00
Mintsuki
09b5a3e2d7
mm/vmm: loongarch64: Slightly better fix than that in df3b0aa05434f49a4c28019f61e9c3818f4268f3 2025-11-23 06:01:41 +01:00