1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Userland/Libraries/LibAudio
Alex Chronopoulos 5f67d002a2 LibAudio: Prevent int overflow in the user buffer queue
The `UserSampleQueue::remaining_samples` calculates the result by
subtracting two unsigned int numbers. That can lead to integer overflow.
Add an assert to verify that the minuend is greater or equal to the
subtrahend.
2022-12-31 00:08:05 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConnectionToServer.cpp LibAudio: Only join the background enqueuer thread if has been started 2022-12-31 00:04:34 +01:00
ConnectionToServer.h LibAudio: Expose blocking realtime enqueue to audio clients 2022-12-15 00:21:00 -07:00
FlacLoader.cpp LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
FlacLoader.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
FlacTypes.h LibAudio: Add spec comments to the FlacLoader 2022-06-23 23:16:34 +01:00
GenericTypes.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Loader.cpp LibAudio: Use NonnullOwnPtr to keep track of LoaderPlugin streams 2022-12-05 17:49:47 +01:00
Loader.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
LoaderError.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MP3HuffmanTables.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MP3Loader.cpp LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
MP3Loader.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MP3Tables.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
MP3Types.h LibAudio+LibDSP: Switch samples to 32-bit float instead of 64-bit float 2022-05-07 20:20:16 +02:00
Queue.h LibAudio+Userland: Remove Audio::LegacyBuffer 2022-05-03 23:09:20 +02:00
Resampler.h LibAudio: Tolerate a file sample rate lower than the AudioServer's 2022-12-31 00:04:34 +01:00
Sample.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SampleFormats.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SampleFormats.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
UserSampleQueue.cpp LibAudio: Prevent int overflow in the user buffer queue 2022-12-31 00:08:05 +01:00
UserSampleQueue.h LibAudio+Userland: Use new audio queue in client-server communication 2022-04-21 13:55:00 +02:00
WavLoader.cpp LibCore: Rename MemoryStream to FixedMemoryStream 2022-12-15 13:28:29 +00:00
WavLoader.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WavWriter.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
WavWriter.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00