Report

sim mn10300: missing NULL/overflow checks before strcpy from option arg

a76dde34-d720-4c20-9621-2c4894dba44d

In sim/mn10300/interp.c, mn10300_option_handler handles the --board option by allocating board = zalloc(strlen(arg)+1) and then calling strcpy(board,arg) without checking for allocation failure or guarding against size_t overflow in strlen(arg)+1.