about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@redhat.com>2024-09-26 11:30:29 -0300
committerTulio Magno Quites Machado Filho <tuliom@redhat.com>2024-09-30 15:57:12 -0300
commit97aa92263a151d12286d27d327edc35475fe521c (patch)
tree81e9c053f40b112269a3f30abbd7c88b0b026b7a /sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S
parent483443d3211532903d7e790211af5a1d55fdb1f3 (diff)
downloadglibc-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