diff options
author | Luis Henriques <[email protected]> | 2012-07-11 14:02:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-07-11 16:04:43 -0700 |
commit | a4e08d001f2e50bb8b3c4eebadcf08e5535f02ee (patch) | |
tree | 6ab47d995bd4c0a3a388dcbc11ffbe775274d88c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6b4fa63a9e5696fa43f25143f104ef0bea642222 (diff) |
ocfs2: fix NULL pointer dereference in __ocfs2_change_file_space()
As ocfs2_fallocate() will invoke __ocfs2_change_file_space() with a NULL
as the first parameter (file), it may trigger a NULL pointer dereferrence
due to a missing check.
Addresses http://bugs.launchpad.net/bugs/1006012
Signed-off-by: Luis Henriques <[email protected]>
Reported-by: Bret Towe <[email protected]>
Tested-by: Bret Towe <[email protected]>
Cc: Sunil Mushran <[email protected]>
Acked-by: Joel Becker <[email protected]>
Acked-by: Mark Fasheh <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions