ladybird/Tests/LibC
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
..
CMakeLists.txt LibC: Implement tfind and tsearch 2021-10-15 21:50:19 -07:00
TestIo.cpp Userland+Tests: Convert test_io to be LibTest based 2021-07-11 19:42:00 +02:00
TestLibCDirEnt.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestLibCExec.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
TestLibCInodeWatcher.cpp Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
TestLibCMkTemp.cpp LibC: Move mman.h to sys/mman.h 2021-05-14 22:24:02 +02:00
TestLibCSetjmp.cpp Tests: Test setjmp/sigsetjmp LibC functions 2021-08-26 00:54:23 +02:00
TestLibCString.cpp LibC: Implement strerror_r() 2021-05-25 17:36:02 +02:00
TestLibCTime.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestMemmem.cpp Tests: Convert remaining LibC tests to LibTest 2021-09-01 13:44:24 +02:00
TestQsort.cpp Tests: Reduce the execution time of the LibC TestQSort test 2021-09-05 22:17:28 +02:00
TestRealpath.cpp Tests: Convert remaining LibC tests to LibTest 2021-09-01 13:44:24 +02:00
TestScanf.cpp LibC: Fix %n conversion specifier in scanf() format 2021-10-24 22:43:27 -07:00
TestSearch.cpp LibC: Implement twalk 2021-10-15 21:50:19 -07:00
TestSnprintf.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
TestStackSmash.cpp Tests+Base: Convert stack-smash to be LibTest based and stop skipping it 2021-07-06 17:22:45 +02:00
TestStrlcpy.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
TestStrtodAccuracy.cpp Tests: Convert remaining LibC tests to LibTest 2021-09-01 13:44:24 +02:00
TestWchar.cpp LibC: Fix up mblen 2021-10-22 13:28:56 -07:00
TestWctype.cpp Tests: Only test truthiness for iswctype 2021-10-24 22:40:11 -07:00