This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/16776] Endless loop in strtol example
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 28 Apr 2014 16:37:47 +0000
- Subject: [Bug manual/16776] Endless loop in strtol example
- Auto-submitted: auto-generated
- References: <bug-16776-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16776
Ondrej Bilka <neleai at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |neleai at seznam dot cz
Resolution|--- |INVALID
--- Comment #1 from Ondrej Bilka <neleai at seznam dot cz> ---
It is just example, clarity there is preferred.
It does not handle input validation, you need to supply valid input. For user
input you should use scanf anyway to handle thousand separators and such.
--
You are receiving this mail because:
You are on the CC list for the bug.