diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-02-21 14:24:44 -0800 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-21 17:49:54 -0600 |
commit | 7478c104fc479067d71d191dccfa4cbf541311d8 (patch) | |
tree | 27d1bfdc1439924c5249f636a546288d0ab6d145 /bash-completion/rc-service | |
parent | 065b7ecc0d4ddd046cc235d60de20140db1a6fe8 (diff) |
librc/librc-depend.c: fix NULL pointer dereference
In some cases deptree or depinfo can be NULL, check
before dereferencing.
Fixes https://github.com/OpenRC/openrc/issues/293
Fixes https://github.com/OpenRC/openrc/pulls/294
X-Gentoo-Bug: 659906
X-Gentoo-Bug-URL: https://bugs.gentoo.org/659906
Diffstat (limited to 'bash-completion/rc-service')
0 files changed, 0 insertions, 0 deletions