diff options
| author | Seth Jenkins <sethjenkins@google.com> | 2022-10-27 11:36:52 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-29 10:08:36 +0200 |
| commit | 97898139ca9b81ba9322a585e07490983c53b55a (patch) | |
| tree | 870746315b9828b40c42a07cd95c263f52b760a5 /Kbuild | |
| parent | 6f9134dd5a8307336c145ec054963680409ef26c (diff) | |
| download | linux-97898139ca9b81ba9322a585e07490983c53b55a.tar.gz linux-97898139ca9b81ba9322a585e07490983c53b55a.tar.bz2 linux-97898139ca9b81ba9322a585e07490983c53b55a.zip | |
mm: /proc/pid/smaps_rollup: fix no vma's null-deref
Commit 258f669e7e88 ("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: 258f669e7e88 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file")
Signed-off-by: Seth Jenkins <sethjenkins@google.com>
Reviewed-by: Alexey Dobriyan <adobriyan@gmail.com>
Tested-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
