mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The tmp buffer is one byte too short missing space for the final \0 byte leading to out of bound access. Fix by increasing the buffer by one. Reported-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>