Files
ZephCore/zephcore
liquidraver b39483add3 fix(companion): null-terminate contact name in CMD_ADD_UPDATE_CONTACT
The wire format reserves a 32-byte name field; if the phone sends 32
non-null bytes, ContactInfo::name has no terminator. Subsequent
LOG_INF/LOG_DBG sites using %s with contact.name then read past the
field into adjacent struct bytes (type, flags, out_path_len, ...)
until the first null. No memory corruption — serializeContact uses
StrHelper::strzcpy which is length-bounded — but log output gets
garbage and a paired peer could probe a few bytes of the struct
through log capture.

Sibling handler CMD_SET_CHANNEL at :1593-1594 already does this
defensively. Match the pattern.
2026-05-20 15:40:18 +02:00
..
2026-05-20 10:27:42 +02:00
2026-02-22 13:09:18 +01:00
2026-05-14 22:24:48 +02:00
2026-03-19 10:44:33 +01:00
2026-05-14 22:24:48 +02:00
2026-05-16 22:43:36 +01:00
2026-02-20 12:43:13 +01:00
2026-02-22 13:09:18 +01:00