diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2022-03-07 18:15:58 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2022-03-08 17:40:18 +0100 |
commit | a7032da6bbe875596ea1cb348a747123cda7d408 (patch) | |
tree | e6b00543a4199294c06d6bfb42bd1afb293b729d /src/irmd/ipcp.c | |
parent | 2db119dd5c3e9a1ffc1360bde181a030c08bfce2 (diff) | |
download | ouroboros-a7032da6bbe875596ea1cb348a747123cda7d408.tar.gz ouroboros-a7032da6bbe875596ea1cb348a747123cda7d408.zip |
ipcpd: Fix memcpy with NULL in piggyback API
If there is no piggyback data, memcpy was passed a NULL pointer in
memcpy(buf, NULL, 0) calls, which is undefined behaviour.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/ipcp.c')
0 files changed, 0 insertions, 0 deletions