about summary refs log tree commit diff
path: root/stdlib.h
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 /stdlib.h
parent483443d3211532903d7e790211af5a1d55fdb1f3 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
Add a new fwrite test that exercises buffer overflow HEAD master
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 'stdlib.h')
0 files changed, 0 insertions, 0 deletions