aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSzymon Janc <[email protected]>2012-10-04 15:15:45 +0200
committerSamuel Ortiz <[email protected]>2012-10-26 18:26:48 +0200
commit460d8f970e44c2d8fc24ab622ff433295a6cedd8 (patch)
tree8d63fc549c09ea9daf2f09fc8fa447c0bbfe0d09 /lib/cpu-notifier-error-inject.c
parent7ad39395ab1394fc6fc8bc3693d6055ea173e226 (diff)
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 <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions