sys-fs/e4rat: fix memory corruption
authorAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 00:05:33 +0000 (03:05 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Sun, 12 Feb 2017 00:05:33 +0000 (03:05 +0300)
commit01bb8c32471a29081be7d77f52e0f95da371b1cf
tree1bb86e89ad4230f33778acf2931b2775c900f46c
parentadb1ff04a2bddaf9a934bc7698aa10301dc1e2e2
sys-fs/e4rat: fix memory corruption

It is unsafe to use Config::get<T>(arg)c_str() pointer
directly, since it may be overwritten by later get calls.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild [new file with mode: 0644]
sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch [new file with mode: 0644]