Skip to content

selftests: Add missing initalization of pointer passed to getline

Chris Gellermann linux-kselftest linux-mm lkml stable 1 version Applied

Status from this message: [merged mm-hotfixes-stable] selftests-mm-fix-potential-wild-pointer-access-of-getline-due-to-missing-init.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesApplied 2/4

Patches in v2 Applied · 2/4

#Subject and filesSizeRepliesApplied
1/2selftests/clone3: Fix wild pointer access of getline due to missing inittools/testing/selftests/clone3/clone3_set_tid.c+1 -12 replies
1/2selftests/clone3: Fix wild pointer access of getline due to missing inittools/testing/selftests/clone3/clone3_set_tid.c+1 -10 repliesApplied
2/2selftests/mm: Fix potential wild pointer access of getline due to missing inittools/testing/selftests/mm/mlock-random-test.c+1 -10 replies
2/2selftests/mm: Fix potential wild pointer access of getline due to missing inittools/testing/selftests/mm/mlock-random-test.c+1 -10 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand (arm)Lorenzo Stoakes
1/2A-b A-b R-b R-b
1/2A-b A-b R-b R-b
2/2A-b A-b R-b R-b
2/2A-b A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] selftests: Add missing initalization of pointer passed to getline

Hi there,

just a gentle ping on these patches. It has received an acked-by from David Hildenbrand (arm) and a reviewed-by from Lorenzo Stoakes.

I'm resending the patches as reply to this cover letter to clean up the previous situation.

Let me know if it needs any further change.

Best,
Chris

Chris Gellermann (2):
selftests/clone3: Fix wild pointer access of getline due to missing
init
selftests/mm: Fix potential wild pointer access of getline due to
missing init

 tools/testing/selftests/clone3/clone3_set_tid.c | 2 +-
 tools/testing/selftests/mm/mlock-random-test.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--
2.47.3