Panu Matilainen 308bc34ea9 Handle readlink() failure in genCpioListAndHeader() correctly
It might be a rare condition but it /can/ happen, and previously that would cause '\0' written out of bounds (at negative array offset). Also leave room for the terminating '\0' at the end of buffer when calling readlink(), previously a link exactly the size of buffer would've been silently truncated.

(cherry picked from rpm.org commit c499a0b912629eeeabc3554d3e3a95c088e96422)
2020-08-24 19:38:47 +00:00
..
2002-03-25 20:16:26 +00:00
2011-01-31 04:53:26 +03:00
2014-02-15 22:19:47 +00:00
2002-03-25 20:16:26 +00:00
2006-05-15 04:54:03 +04:00
2005-10-06 18:21:40 +00:00
2005-10-06 18:21:40 +00:00
2019-11-01 16:16:23 +00:00
2020-01-04 10:43:44 +00:00
2019-10-03 21:14:18 +03:00
2002-03-25 20:16:26 +00:00