diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-05-03 10:34:11 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 10:34:11 +0200 |
commit | b03e4d7bd25b1ac485f858f0a857ba6085e8c9b0 (patch) | |
tree | b525ecb1617634a5bdb0134238268012a8a8ca52 /stdio-common/tst-fphex.c | |
parent | c2fd60a5861efef48252f5cc7efc70e1d8a0da9a (diff) | |
download | glibc-b03e4d7bd25b1ac485f858f0a857ba6085e8c9b0.tar.gz |
stdio: fix vfscanf with matches longer than INT_MAX (bug 27650)
Patterns like %*[ can safely be used to match a great many characters,
and it's quite realisitic to use them for more than INT_MAX characters
from an IO stream.
With the previous approach, after INT_MAX characters (v)fscanf would
return successfully, indicating an end to the match, even though there
wasn't one.
Diffstat (limited to 'stdio-common/tst-fphex.c')
0 files changed, 0 insertions, 0 deletions