Merge branch 'af_unix-fix-a-null-deref-in-sk_diag_dump_uid'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 1 Dec 2022 09:32:23 +0000 (10:32 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 1 Dec 2022 09:32:23 +0000 (10:32 +0100)
commit9aff0ec5cba5b4ec4f199bbc6d0b7e1fedfa149e
treec9beade85cd1db22b3d8c26705403e58f6374171
parentd68d7d204afdc5e8e8f3e038e2ee048b5498ded3
parentac011361bd4f6206b36d2a242500239881bf8d2a
Merge branch 'af_unix-fix-a-null-deref-in-sk_diag_dump_uid'

Kuniyuki Iwashima says:

====================
af_unix: Fix a NULL deref in sk_diag_dump_uid().

The first patch fixes a NULL deref when we dump a AF_UNIX socket's UID,
and the second patch adds a repro/test for such a case.
====================

Link: https://lore.kernel.org/r/20221127012412.37969-1-kuniyu@amazon.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>