aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-04-06 23:56:46 -0400
committerChris Wright <chrisw@sous-sol.org>2009-04-27 10:36:52 -0700
commit538c7aac35f4282d7674c473f099b323b1e020dd (patch)
treeb3c802bf5035419055e7a5fcc7c6232a1b6c66ab /lib/debugobjects.c
parentd930ec7bcd0c4ef7ce0e555fbd540c5ebcedc8bd (diff)
dock: fix dereference after kfree()
upstream commit: f240729832dff3785104d950dad2d3ced4387f6d dock_remove() calls kfree() on dock_station so we should use list_for_each_entry_safe() to avoid dereferencing freed memory. Found by smatch (http://repo.or.cz/w/smatch.git/). Compile tested. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions