[PATCH 03/11] dbghelp: fix two internal buffer allocations