[rpm PATCH] Fix unterminated buffer after readlink() call

Panu Matilainen pmatilai at laiskiainen.org
Sun Oct 23 12:12:34 UTC 2011


On 10/22/2011 12:05 AM, Thomas Jarosch wrote:
> readlink() never terminates the buffer.
>
> Detected by "cppcheck" (git HEAD)


Oh ugh. I suppose many implementations do terminate the buffer at least 
on success, otherwise this wouldn't have survived as long as it has.

Applied, thanks for the patch!

	- Panu -


More information about the Rpm-list mailing list