diff options
| author | Dongliang Mu <[email protected]> | 2022-03-22 14:38:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-03-22 15:57:00 -0700 |
| commit | 714fbf2647b1a33d914edd695d4da92029c7e7c0 (patch) | |
| tree | cc103b8f939c5560021748337656a9e76286f4f6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2b76e68d7249f2f209b3ee3d15e8a2fb805220a3 (diff) | |
ntfs: add sanity check on allocation size
ntfs_read_inode_mount invokes ntfs_malloc_nofs with zero allocation
size. It triggers one BUG in the __ntfs_malloc function.
Fix this by adding sanity check on ni->attr_list_size.
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: [email protected]
Signed-off-by: Dongliang Mu <[email protected]>
Acked-by: Anton Altaparmakov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions