sys-auth/skey: Avoid out of bounds stack read.
authorUlrich Müller <ulm@gentoo.org>
Sat, 12 Dec 2015 09:15:14 +0000 (10:15 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 12 Dec 2015 09:15:14 +0000 (10:15 +0100)
commit290b26df9f776c186fea43c21a7213256d48f722
tree7cde33f0d31cf41fb8b9055bc731a1b58601f8aa
parent164ed90923c11957a3908a0f56607208232a8133
sys-auth/skey: Avoid out of bounds stack read.

Fix the extract() function not to access unnecessary array elements;
this avoids an out-of-bounds read when called from btoe() or etob().
Change the insert() function to use similar logic as extract().

Bug: 567608

Package-Manager: portage-2.2.26
sys-auth/skey/Manifest
sys-auth/skey/skey-1.1.5-r10.ebuild [new file with mode: 0644]