From: Mimi Zohar Date: Tue, 20 Sep 2011 15:23:55 +0000 (-0400) Subject: encrypted-keys: check hex2bin result X-Git-Tag: v3.2-rc1~190^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b3ff6319e2312656fbefe0209bef02d58b6836a;p=pandora-kernel.git encrypted-keys: check hex2bin result For each hex2bin call in encrypted keys, check that the ascii hex string is valid. On failure, return -EINVAL. Changelog v1: - hex2bin now returns an int Signed-off-by: Mimi Zohar Acked-by: Andy Shevchenko --- Reading git-diff-tree failed