Commit Graph

2 Commits

Author SHA1 Message Date
Omar Polo 151af94eba only memcpy into imsg->data if datalen is not zero
Passing a NULL pointer to memcpy is UB no matter if len is 0 (commit by
claudio@, backporting for gmid.)
2022-01-28 12:34:42 +00:00
Omar Polo 6b191ed52a
tests and compat for imsg 2021-02-23 13:43:14 +01:00