summaryrefslogtreecommitdiffstats
path: root/discover/yaboot-parser.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-12-05 14:54:13 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-12-05 15:11:46 +0800
commit6c40be15d13765c004e3568cd50b543e1fb74648 (patch)
tree7a57bf3aa3c46c43f1917bf39ebb767ba8098ed1 /discover/yaboot-parser.c
parent97cf71f1f2f07210bc160d1f04c0b13d5bcd5b74 (diff)
downloadtalos-petitboot-6c40be15d13765c004e3568cd50b543e1fb74648.tar.gz
talos-petitboot-6c40be15d13765c004e3568cd50b543e1fb74648.zip
discover/boot: Copy local paths before running boot hooks
We're seeing a crash when boot hooks are specifying new resources, as boot_hook_update_param will write to a NULL struct load_url_result. Instead of writing the updated values to the struct, copy the local parts of the result to a separate string, which the boot hooks are free to update. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/yaboot-parser.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud