Files
semi-libc/src/stdio
Rich Felker 5ff3eea91f fgets: avoid arithmetic overflow when n==INT_MIN is passed
performing n-- is not a safe operation for arbitrary signed input n.
only perform the decrement in the code path where the initial n is
greater than 1, and adjust the condition in the n<=1 code path to
compensate for it not having been decremented.
2022-10-19 14:01:32 -04:00
..
2011-02-12 00:22:29 -05:00
2011-02-20 17:19:37 -05:00
2011-02-12 00:22:29 -05:00
2018-04-18 14:46:05 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2012-11-08 16:39:41 -05:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2016-04-26 15:26:40 -04:00
2014-06-04 03:39:22 -04:00
2018-09-12 14:34:37 -04:00
2019-09-13 14:05:06 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00