Skip to content

authz: Add missing NULL checks

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2authz-pam: Check that 'service' property is setauthz/pamacct.c+6 -02 replies
2/2authz-simple: Check that 'identity' property is setauthz/simple.c+14 -02 replies

Reviews trailers per patch

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

PatchDaniel P. BerrangéPhilippe Mathieu-Daudé
1/2R-b R-b
2/2R-b R-b

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

Read the v1 thread

Cover letter [PATCH for-5.2? 0/2] authz: Add missing NULL checks

While trying to write a QAPI schema for user creatable object types, I have to figure out whether properties are mandatory or options.

Turns out that some authz object types have properties that should be mandatory because the code assumes they are non-NULL, but we never check that they are actually given.

Kevin Wolf (2):
authz-pam: Check that 'service' property is set
authz-simple: Check that 'identity' property is set

 authz/pamacct.c |  6 ++++++
 authz/simple.c  | 14 ++++++++++++++
 2 files changed, 20 insertions(+)
Signature · 1 line
2.28.0