diff options
| author | Elena Reshetova <[email protected]> | 2017-03-06 16:21:12 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-17 13:32:59 +0900 |
| commit | 43938613c6fd2e58a0be212c832e1878bedefe5a (patch) | |
| tree | b8d7a05d962948575b931c54d98072f0b3e33f8f /tools/perf/scripts/python | |
| parent | a25557f2472c958536ef8b6a5bf340a008a651b3 (diff) | |
drivers, usb: convert ffs_data.ref from atomic_t to refcount_t
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.
Signed-off-by: Elena Reshetova <[email protected]>
Signed-off-by: Hans Liljestrand <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David Windsor <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions