Merge "bootctrl: fixed OOB read in BootControl" into main