summaryrefslogtreecommitdiff
path: root/modules/pam_access
diff options
context:
space:
mode:
authorPeter Urbanec <peterurbanec@users.noreply.github.com>2017-07-12 17:47:47 +1000
committerTomáš Mráz <t8m@users.noreply.github.com>2017-07-12 09:47:47 +0200
commit3466dbea5532dbddfd9b725dd242d68ab7388ed8 (patch)
treef1db331f3a28b35628a776e173e28f3a2551fa7d /modules/pam_access
parentd431110060abb2e92e0d997df1063ccc30922bb7 (diff)
pam_unix: Check return value of malloc used for setcred data (#24)
Check the return value of malloc and if it failed print debug info, send a syslog message and return an error code. The test in AUTH_RETURN for ret_data not being NULL becomes redundant. Signed-off-by: Peter Urbanec <git.user@urbanec.net>
Diffstat (limited to 'modules/pam_access')
0 files changed, 0 insertions, 0 deletions