diff options
author | Joel Stanley <joel@jms.id.au> | 2018-03-06 14:32:20 +1030 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-03-07 16:24:31 +1100 |
commit | 47d0601affe80d7f98a2053749f5e1d479f902f4 (patch) | |
tree | 6c464dc65e6284cfbddddad904fddda5ef722f26 /.travis.yml | |
parent | 2c97f136757b5428bb68f91cfa723990dcd985c8 (diff) | |
download | talos-petitboot-47d0601affe80d7f98a2053749f5e1d479f902f4.tar.gz talos-petitboot-47d0601affe80d7f98a2053749f5e1d479f902f4.zip |
discover: pxe: Avoid dereferencing null pointer
When result is null, we may end up in the error handling path where we
try to dereference null to call cleanup_local. This adds a check for
result.
Found with scan-build.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
[Fixed up commit message typo]
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions