On Mon, Aug 27, 2012 at 04:27:27PM +0200, Cyril Brulebois wrote: > (2) For Philipp: > > be8a052bf38fc121620fff90ea277eafb795713f: > + buf = malloc(1024); > + slen = readlink(path, buf, 1024); > [slen<0 check] > + buf[slen + 1] = '\0'; > > If readlink returns 1024, that goes kaboom? (Also, using a constant > might be nice.)
Patch pushed. Thanks and sorry. Kind regards Philipp Kern
signature.asc
Description: Digital signature