mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 01:04:38 +03:00
a44978b9b0
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestIo.cpp | ||
TestLibCDirEnt.cpp | ||
TestLibCExec.cpp | ||
TestLibCInodeWatcher.cpp | ||
TestLibCMkTemp.cpp | ||
TestLibCSetjmp.cpp | ||
TestLibCString.cpp | ||
TestLibCTime.cpp | ||
TestMemmem.cpp | ||
TestQsort.cpp | ||
TestRealpath.cpp | ||
TestScanf.cpp | ||
TestSearch.cpp | ||
TestSnprintf.cpp | ||
TestStackSmash.cpp | ||
TestStrlcpy.cpp | ||
TestStrtodAccuracy.cpp | ||
TestWchar.cpp | ||
TestWctype.cpp |