HomePhabricator

Add a nul byte to packet str before logging, increase default size.

Authored by jasonmolenda on Oct 20 2020, 1:42 AM.

Description

Add a nul byte to packet str before logging, increase default size.

Add a nul byte to the stream in CommunicationKDP::CheckForPacket
before we send the GetData() to a Log::Printf as a c-str. Avoids
a crash when logging kdp communications and memory layout isn't
in your favor.

Details

Committed
jasonmolendaOct 20 2020, 1:43 AM
Parents
rGb9e2b59680ad: [yaml2obj][ELF] - Simplify the code that performs sections validation.
Branches
Unknown
Tags
Unknown