Commit Graph
3 Commits
Author SHA1 Message Date
Bartosz BrachaczekandRich Felker ddf1750e42 getentropy: fix UB if len==0
if len==0, an uninitalized variable would be returned
2020-07-24 14:54:40 -04:00
Bartosz BrachaczekandRich Felker 9255dad97e handle whitespace before %% in scanf
this is mandated by C and POSIX standards and is in accordance with
glibc behavior.
2017-09-04 16:59:38 -04:00
Bartosz BrachaczekandRich Felker b7bfb5c3a8 fix iconv conversions for iso88592-iso885916
commit 97bd6b09db refactored the table
lookup into a function and introduced an error in index computation.
the error caused garbage to be read from the table if the given charmap
had a non-zero number of elided entries.
2017-06-20 20:41:23 -04:00