Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: /proc/pid/smaps_rollup: fix no vma's null-deref
Commit 258f669 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") introduced a null-deref if there are no vma's in the task in show_smaps_rollup. Fixes: 258f669 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") Signed-off-by: Seth Jenkins <[email protected]> Reviewed-by: Alexey Dobriyan <[email protected]> Tested-by: Alexey Dobriyan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information