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 -