Re: [PATCH 3/4] elf_ops.h: Don't truncate name of the ROM blobs we create

2020-11-30 Thread Richard Henderson
On 11/29/20 2:39 PM, Peter Maydell wrote: > Currently the load_elf code assembles the ROM blob name into a > local 128 byte fixed-size array. Use g_strdup_printf() instead so > that we don't truncate the pathname if it happens to be long. > (This matters mostly for monitor 'info roms' output and fo

[PATCH 3/4] elf_ops.h: Don't truncate name of the ROM blobs we create

2020-11-29 Thread Peter Maydell
Currently the load_elf code assembles the ROM blob name into a local 128 byte fixed-size array. Use g_strdup_printf() instead so that we don't truncate the pathname if it happens to be long. (This matters mostly for monitor 'info roms' output and for the error messages if ROM blobs overlap.) Signe