summaryrefslogtreecommitdiff
path: root/src/journal/coredumpctl.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-12 13:43:07 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-13 17:56:55 -0400
commitf6d2d421470a566cca05ceede788d61a0773e276 (patch)
tree77649e8a775d9243eff6e8a03f126129ff5edadf /src/journal/coredumpctl.c
parent97fec53e5e91222f43fc89d0ad45fa197742a363 (diff)
Make sure that we don't dereference NULL
The code was actually safe, because b should never be null, because if rvalue is empty, a different branch is taken. But we *do* check for NULL in the loop above, so it's better to also check here for symmetry.
Diffstat (limited to 'src/journal/coredumpctl.c')
0 files changed, 0 insertions, 0 deletions