Code

Added debian/patches/bts664724-rrdcached-j-segfault. debian/1.4.7-2
authorSebastian Harl <sh@teamix.net>
Wed, 1 Aug 2012 08:24:52 +0000 (10:24 +0200)
committerSebastian Harl <sh@teamix.net>
Wed, 1 Aug 2012 08:24:52 +0000 (10:24 +0200)
commit4c5fb71cd9b4a9da275b2b8aadd6b87893fddf33
tree226a2260b2bd74de8b450a62ad46305e45b909c7
parentd9b2787163d4598b1fc8c5c61c05f3cbc39a6ce7
Added debian/patches/bts664724-rrdcached-j-segfault.

Fixed segfault in rrdcached when starting without having the journal directory
available: canonicalize the journal path after creating the directory; else,
realpath(3) will return NULL causing strdup() to segfault. Also, check the
return value of realpath(3) before further using it.

Thanks to Helmut Grohne for reporting this.
Closes: #664724
debian/changelog
debian/patches/bts664724-rrdcached-j-segfault [new file with mode: 0644]
debian/patches/series