https://bugs.kde.org/show_bug.cgi?id=381304
--- Comment #3 from John Reiser <jrei...@bitwagon.com> --- Another syscall that produces uninit is readlink(). The portion of the result buffer that is beyond the returned length, should be regarded as Uninit. There is no guarantee that the kernel avoids writing into any portion of the whole buffer, although all known implementations write only an initial string [non-terminated] of the returned length. [memcheck 3.13.0 implements the observed behavior, which is a risk for "false negative" complaints.] link_length = readlink(pathname, buf, buflen) if (link_length > 0) { // no error // buf[link_length, buflen) should be regarded as Uninit. } -- You are receiving this mail because: You are watching all bug changes.