aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorBen Cahill <ben.m.cahill@intel.com>2009-11-06 17:52:57 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 15:23:45 -0500
commit84c4069232a671b3739387949d5cb588dacbd24a (patch)
tree47f0bf17d5ea2e1386b26915b348fc0e1f806e3c /lib/nlattr.c
parent6762f07fd55ff5e588aa5f0a1b70efe8e268a2e8 (diff)
iwlwifi: Limit size of Event Log dump
If device provides bad values for Event Log parameters (due to being asleep or SRAM corruption, etc.), the size can be very, very large (e.g. 0xa5a5a5a5), which can flood system log. Sanity-check capacity and next_entry values and limit to reasonable size dump. Signed-off-by: Ben Cahill <ben.m.cahill@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions