1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibManual
Carwyn Nelson 093cbcd606 LibManual: Error on section_number 0 instead of crashing
Prior to this commit if you tried to access section 0 of the man page
(`man 0 ls`) the application would just crash with an array out of
bounds style error.

This commit just ensures that we return an explicit and helpful error
message when you try to request the 0th section, instead of crashing.
2023-07-05 08:57:39 +02:00
..
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Node.cpp LibManual: Allow querying on a help URL 2023-05-08 21:03:19 -06:00
Node.h Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
PageNode.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
PageNode.h LibManual: Fix const-correctness issues 2023-02-21 00:54:04 +01:00
Path.cpp Help+LibManual: Move all manpage path handling to LibManual 2022-12-11 16:05:23 +00:00
Path.h Help+LibManual: Move all manpage path handling to LibManual 2022-12-11 16:05:23 +00:00
SectionNode.cpp LibManual: Error on section_number 0 instead of crashing 2023-07-05 08:57:39 +02:00
SectionNode.h Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
SubsectionNode.cpp LibManual: Associate SubsectionNode with similarly named markdown file 2023-04-25 02:16:48 -06:00
SubsectionNode.h LibManual: Associate SubsectionNode with similarly named markdown file 2023-04-25 02:16:48 -06:00