summaryrefslogtreecommitdiffstats
path: root/discover/paths.h
diff options
context:
space:
mode:
authorBrandon Bergren <git@bdragon.rtk0.net>2018-06-10 13:21:58 -0500
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-06-12 10:56:35 +1000
commit917f7aa880a7c6ab08991ae0c969d0489ba48845 (patch)
tree92cdab208c9f752e3e9ea57d3926ead2c4db7780 /discover/paths.h
parentd47114df83e88f1b5ae65747001fc13d5dae525b (diff)
downloadtalos-petitboot-917f7aa880a7c6ab08991ae0c969d0489ba48845.tar.gz
talos-petitboot-917f7aa880a7c6ab08991ae0c969d0489ba48845.zip
Fix pb-discover segfaults caused by list corruption.
I was seeing list corruption and segfaults in pb-discover on my Talos II when using both yaboot and kboot config files on the same device. My assumption is that discover_context_add_boot_option() was being called on the same pointer more than once. So, null the pointer right after the call. The ownership was transferred anyway so the parsers should not keep it around. Signed-off-by: Brandon Bergren <git@bdragon.rtk0.net> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/paths.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud