ladybird/Userland/Libraries
Daniel Bertalan 7fdf4004de LibCore: Fix OOB read in Stream::BufferedSeekable::read_until_any_of
If we do not decrement `m_buffered_size` whenever we read data from the
buffer, we end up saying that there are more lines available when we
reach the end of file. This bug caused callers to read garbage data.

This also fixes an incorrect condition in an if statement. The separator
candidate is searched for in `remaining_buffer`, so the separator's
length should be compared against that.
2022-01-01 14:44:02 +01:00
..
LibArchive
LibAudio Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections 2021-12-24 00:19:01 -08:00
LibC LibC: Implement `flockfile and funlockfile` 2022-01-01 09:50:32 +00:00
LibCards
LibChess
LibCompress
LibConfig
LibCore LibCore: Fix OOB read in Stream::BufferedSeekable::read_until_any_of 2022-01-01 14:44:02 +01:00
LibCoredump
LibCpp
LibCrypt
LibCrypto LibCrypto: Remove redundant __builtin_memset() call 2021-12-24 14:35:33 -08:00
LibDebug
LibDesktop
LibDeviceTree
LibDiff LibDiff: Fix error when parsing a 'new' hunk location 2021-12-31 14:12:54 +01:00
LibDl
LibDSP
LibELF Kernel: Use Process::require_promise() instead of REQUIRE_PROMISE() 2021-12-29 18:08:15 +01:00
LibFileSystemAccessClient LibFileSystemAccessClient: Allow custom access rights for open/save 2021-12-23 23:25:47 -08:00
LibGemini
LibGfx LibGfx: Mark some Matrix functions as [[nodiscard]] 2021-12-30 14:24:29 +01:00
LibGL LibGL+LibSoftGPU: Implement texture coordinate generation 2021-12-30 14:24:29 +01:00
LibGUI WindowsServer+LibGUI: Avoid getting color under cursor outside screen 2022-01-01 14:32:11 +01:00
LibHTTP
LibImageDecoderClient
LibIMAP
LibIPC
LibJS LibJS: Add missing undefined fallback to IfStatement completions 2021-12-31 15:39:25 +01:00
LibKeyboard
LibLine
LibM
LibMain
LibMarkdown
LibPCIDB
LibPDF
LibProtocol
LibPthread
LibRegex LibRegex: Make FailForks fail all forks up to the last save point 2021-12-25 18:41:10 +01:00
LibSanitizer
LibSoftGPU LibGL+LibSoftGPU: Implement texture coordinate generation 2021-12-30 14:24:29 +01:00
LibSQL
LibSymbolication
LibSyntax
LibSystem
LibTest
LibTextCodec
LibThreading
LibTLS
LibUnicode
LibUSBDB
LibVideo
LibVT Everywhere: Use 'decrease_slider_by()' method from AbstractSlider 2021-12-30 14:31:50 +01:00
LibWasm
LibWeb LibGUI+LibWeb: Use 'decrease_slider_by_steps()' method 2021-12-30 14:31:50 +01:00
LibWebSocket
LibX86
CMakeLists.txt LibGL+LibSoftGPU: Move rendering related code to LibSoftGPU library 2021-12-24 05:10:28 -08:00