Hi
ISSUE-1:
seabios-1.15.0/scripts/kconfig/menu.c
function get_prompt_str, the variable jump is uninitialized and may lead to illegal access at
if (i > 0) {
str_printf(r, _(" Location:\n"));
for (j = 4; --i >= 0; j += 2) {
menu = submenu[i];
if (head && location && menu == location)
jump->offset = strlen(r->s);
str_printf(r, "%*c-> %s", j, ' ',
_(menu_get_prompt(menu)));
if (menu->sym) {
str_printf(r, " (%s [=%s])", menu->sym->name ?
menu->sym->name : _("<choice>"),
sym_get_string_value(menu->sym));
}
str_append(r, "\n");
}
}
ISSUE-2:
seabios-1.15.0/src/hw/usb-ohci.c
function start_ohci, the check is incorrect
for (;;) {
u32 status = readl(&cntl->regs->cmdstatus);
if (! status & OHCI_HCR)
break;
if (timer_check(end)) {
warn_timeout();
return -1;
}
}
Thanks
Srihari