diff options
| author | Julia Lawall <[email protected]> | 2011-12-23 14:02:55 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-01-04 15:52:43 -0800 |
| commit | e7c8e8605d0bafc705ff27f9da98a1668427cc0f (patch) | |
| tree | 28611cae53fdf460b502e4113522181e3ce3f4ce /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5632c827cbd3617613530ba0e99344192d0a31ca (diff) | |
drivers/usb/class/cdc-acm.c: clear dangling pointer
On some failures, the country_code field of an acm structure is freed
without freeing the acm structure itself. Elsewhere, operations including
memcpy and kfree are performed on the country_code field. The patch sets
the country_code field to NULL when it is freed, and likewise sets the
country_code_size field to 0.
Signed-off-by: Julia Lawall <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions