Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdb_packet: Check vasprintf return value harder and skip free().
* Initialize *buf on stack. * If vasprintf fails to allocate, *buf is old value, not a pointer on heap; freeing it crashes firmware. * Emit a constant string to logging channel for builds with diagnostics.
- Loading branch information