diff options
author | Maciej W. Rozycki <macro@redhat.com> | 2024-07-26 13:21:34 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@redhat.com> | 2024-07-26 13:21:34 +0100 |
commit | 89cddc8a7096f3d9225868304d2bc0a1aaf07d63 (patch) | |
tree | 0bb27d5d32af8c06d647612aaa53d0509b161842 /intl/.cvsignore | |
parent | 1b97a9f23bf605ca608162089c94187573fb2a9e (diff) | |
download | glibc-89cddc8a7096f3d9225868304d2bc0a1aaf07d63.tar.gz glibc-89cddc8a7096f3d9225868304d2bc0a1aaf07d63.tar.xz glibc-89cddc8a7096f3d9225868304d2bc0a1aaf07d63.zip |
stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650]
Complement commit b03e4d7bd25b ("stdio: fix vfscanf with matches longer than INT_MAX (bug 27650)") and add a test case for the issue, inspired by the reproducer provided with the bug report. This has been verified to succeed as from the commit referred and fail beforehand. As the test requires 2GiB of data to be passed around its performance has been evaluated using a choice of systems and the execution time determined to be respectively in the range of 9s for POWER9@2.166GHz, 24s for FU740@1.2GHz, and 40s for 74Kf@950MHz. As this is on the verge of and beyond the default timeout it has been increased by the factor of 8. Regardless, following recent practice the test has been added to the standard rather than extended set. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'intl/.cvsignore')
0 files changed, 0 insertions, 0 deletions