summaryrefslogtreecommitdiff
path: root/stdio-common/tst-fphex.c
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-05-03 10:34:11 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 10:34:11 +0200
commitb03e4d7bd25b1ac485f858f0a857ba6085e8c9b0 (patch)
treeb525ecb1617634a5bdb0134238268012a8a8ca52 /stdio-common/tst-fphex.c
parentc2fd60a5861efef48252f5cc7efc70e1d8a0da9a (diff)
downloadglibc-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