Fix buffer overrun, always writing at buffer size + 1.
authorwwp <wwp@free.fr>
Wed, 11 Apr 2018 06:40:57 +0000 (08:40 +0200)
committerwwp <wwp@free.fr>
Wed, 11 Apr 2018 06:40:57 +0000 (08:40 +0200)
commit171d89917efbe3aa18324e831baaeaadb01dd2a7
tree632f2fd1f5e89cd548415dedbaa51e302f75c16e
parent6dcf3e1426374286dad4927a3e45ebb7e60be58b
Fix buffer overrun, always writing at buffer size + 1.
Fixes CID #1434188.
src/plugins/clamd/libclamd/clamd-plugin.c