[kernel] Various minor kernel bug fixes found by AI by ghaerr · Pull Request #2670 · ghaerr/elks (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Conversation
This PR adds the following mostly minor fixes, found by AI in #2646:
- Disallow master PTY writing into slave input queue when closed and queue freed.
- Check enough user stack available for signal stack frame when crafting application signal callback, otherwise terminate process with SIGSEGV.
- Fix potential buf[2] overwrite in xms_fmemcpyb when XMS=int15 amidst multiple interrupts (rare or not possible).
- Fix FAT filesystem internal buffer longname[14] overwrite on 14-character long filename conversion.
- Fix pipe open w/O_NONBLOCK|O_WRONLY from leaking PIPE_WRITERS when no readers.
- Fix reused super block entries not fully cleared across mounts, possibly allowing stale fields to be reused.
- Fix return value in sock_register (never checked).
- Disallow
fmemallocof zero paragraphs to prevent allocator corruption. - Version number incremented to v0.9.1pre.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})