diff options
author | Tulio Magno Quites Machado Filho <tuliom@redhat.com> | 2024-09-26 11:30:29 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@redhat.com> | 2024-09-30 15:57:12 -0300 |
commit | 97aa92263a151d12286d27d327edc35475fe521c (patch) | |
tree | 81e9c053f40b112269a3f30abbd7c88b0b026b7a /sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S | |
parent | 483443d3211532903d7e790211af5a1d55fdb1f3 (diff) | |
download | glibc-97aa92263a151d12286d27d327edc35475fe521c.tar.gz glibc-97aa92263a151d12286d27d327edc35475fe521c.tar.xz glibc-97aa92263a151d12286d27d327edc35475fe521c.zip |
Add a new fwrite test that exercises buffer overflow
Exercises fwrite's internal buffer when doing a file operation. The new test, exercises 2 overflow behaviors: 1. Call fwrite multiple times making usage of fwrite's internal buffer. The total number of bytes written is larger than fwrite's internal buffer, forcing an automatic flush. 2. Call fwrite a single time with an amount of data that is larger than fwrite's internal buffer. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S')
0 files changed, 0 insertions, 0 deletions