[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-5.2? 0/2] authz: Add missing NULL checks
From: |
Kevin Wolf |
Subject: |
[PATCH for-5.2? 0/2] authz: Add missing NULL checks |
Date: |
Tue, 17 Nov 2020 17:30:43 +0100 |
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(+)
--
2.28.0
- [PATCH for-5.2? 0/2] authz: Add missing NULL checks,
Kevin Wolf <=