ladybird/Libraries
DrewStratford 2a8de4cdec LibCore: Fix segfault in CArgsParser (#1072)
CArgsParser::parse_next_param did not properly ensure that, when
a param required a following argument, there were enough parameters left to
complete the parse. This meant that params_left could become negative,
avoiding parse_next_param's termination condition, and cause a segfault
when reading from argv with an out of bounds index.

This fixes the check to ensure that we do in fact have the right amount
of parameters and also adds an assertion to ensure that params_left does
not become negative.
2020-01-13 14:52:25 +01:00
..
LibAudio AK: Move the userspace SharedBuffer from LibC to AK 2020-01-01 18:53:34 +01:00
LibC LibC: Move even more methods and globals out of crt0.o 2020-01-13 13:03:30 +01:00
LibCore LibCore: Fix segfault in CArgsParser (#1072) 2020-01-13 14:52:25 +01:00
LibDraw LibDraw: Remove debug spam about loading system themes 2020-01-12 10:01:22 +01:00
LibELF LibELF: Add methods to validate the ELF and program headers 2020-01-13 13:03:30 +01:00
LibGUI TextEditor: Implement replacement functionality 2020-01-12 01:41:36 +01:00
LibHTML LibHTML: Fix broken build after Element::computed_style() change 2020-01-05 17:38:52 +01:00
LibIPC LibIPC: Let's start building custom message codecs for LibIPC 2019-12-30 02:41:45 +01:00
LibM Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibMarkdown Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibPCIDB Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibProtocol AK: Move the userspace SharedBuffer from LibC to AK 2020-01-01 18:53:34 +01:00
LibPthread LibPthread: Fix incompatible pthread_setname_np(), pthread_getname_np() 2020-01-11 12:54:30 +01:00
LibThread LibPthread: Fix incompatible pthread_setname_np(), pthread_getname_np() 2020-01-11 12:54:30 +01:00
LibVT LibVT: Relayout TerminalWidget on font change 2020-01-08 21:12:40 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00