[Bug stdio/28932] scanf "%n" incorrectly requires int pointer, instead of size_t pointer

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Tue Mar 1 09:06:25 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=28932

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
If you want to store a size_t, use %zn.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list