mm: shmem: check the return value of mpol_to_str()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Cyrill Gorcunov |
|---|---|
| Series | R-b R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] mm: shmem: check the return value of mpol_to_str()
mpol_to_str() may fail, and not fill the buffer (e.g. -EINVAL), so need check about it, or buffer may not be zero based, and next seq_printf() will cause issue.
Signed-off-by Chen Gang <[email protected]>
Cc Cyrill Gorcunov <[email protected]>
--- fs/proc/task_mmu.c | 4 +++- mm/shmem.c | 16 ++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>