mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When decoding a value that is exactly at the boundary of the available size (i.e., *size == value_len), and the value length is not a multiple of the TTLV block length, then *size wraps to a huge value when the pad_len is subtracted. Assisted-by: IBM Bob:2.0.0 Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Finn Callies <fcallies@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>