From: Szymon Janc Date: Thu, 4 Oct 2012 13:15:45 +0000 (+0200) Subject: NFC: Use NFC_MAX_GT_LEN to check len in nci_set_local_general_bytes X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~337^2^2~67^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460d8f970e44c2d8fc24ab622ff433295a6cedd8;p=pandora-kernel.git NFC: Use NFC_MAX_GT_LEN to check len in nci_set_local_general_bytes local_gb is of size NFC_MAX_GT_LEN and len is used as index for it. Check len against this instead of NCI_MAX_PARAM_LEN before accessing local_gb. Signed-off-by: Szymon Janc Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed