diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-13 03:26:59 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-13 03:26:59 -0400 |
commit | 54222d1efc5239d3fc8c528672bd52bfd8dad813 (patch) | |
tree | 703fffd260ae2435d51fc19a582906eca9a317a6 /src/unistd/dup.c | |
parent | 3ddeedd8f75be8a3dc2a167746f36f871d7e595a (diff) | |
download | musl-54222d1efc5239d3fc8c528672bd52bfd8dad813.tar.gz musl-54222d1efc5239d3fc8c528672bd52bfd8dad813.tar.xz musl-54222d1efc5239d3fc8c528672bd52bfd8dad813.zip |
fix spurious overflows in strtoull with small bases
whenever the base was small enough that more than one digit could still fit after UINTMAX_MAX/36-1 was reached, only the first would be allowed; subsequent digits would trigger spurious overflow, making it impossible to read the largest values in low bases.
Diffstat (limited to 'src/unistd/dup.c')
0 files changed, 0 insertions, 0 deletions