1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Userland
Jelle Raaijmakers a44978b9b0 LibC: Fix %n conversion specifier in scanf() format
Also add a test to prevent this from happening again. There were two
bugs:

* The number of bytes just after processing the last value was written,
  instead of the number of bytes after skipping remaining whitespace.
  Confirmed by testing against GNU's `scanf()` since the man page
  leaves something to be desired.

* The number of bytes was written to the wrong variable argument; i.e.
  the first argument was overwritten.
2021-10-24 22:43:27 -07:00
..
Applets ResourceGraph: Use /proc/stat instead of /proc/all for CPU usage stats 2021-10-07 21:09:38 +02:00
Applications LibJS: Rename PropertyName to PropertyKey 2021-10-24 17:18:07 +02:00
Demos LibGUI: Support drag-to-reorder in TabWidget 2021-10-07 12:19:27 +02:00
DevTools Profiler: Handle profiles with more kernel samples than user samples 2021-10-24 23:04:47 +02:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games 2048: Let user decide if he wants to continue the game 2021-10-05 13:27:57 +03:30
Libraries LibC: Fix %n conversion specifier in scanf() format 2021-10-24 22:43:27 -07:00
Services WindowServer: Prevent sending duplicate MousePackets when clicking 2021-10-24 22:00:34 +02:00
Shell Shell: Prevent exponential explosion around '$((' 2021-10-23 19:29:59 +01:00
Utilities LibJS: Include executable name in bytecode dumps 2021-10-24 17:18:06 +02:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00