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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux