diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2024-02-19 12:54:07 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2024-02-19 14:09:38 +0100 |
commit | 52f4d6f7b72de7308b4200b5c4b6c3ccddf617a3 (patch) | |
tree | 98cb622e91bbc20cc9e76dd90ef28dfa656c41f7 /src/irmd/reg/tests/ipcp_test.c | |
parent | a23b29ea4c1bd9d0407b2b070eb2dc9ad15e71cc (diff) | |
download | ouroboros-52f4d6f7b72de7308b4200b5c4b6c3ccddf617a3.tar.gz ouroboros-52f4d6f7b72de7308b4200b5c4b6c3ccddf617a3.zip |
irmd: Fix free of uninitialized ptr
The reg_list_ipcps function left *ipcps uninitialized when there were
no IPCPs in the system. This caused a free to SEGV in the IRMd when
trying to allocate a flow.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/reg/tests/ipcp_test.c')
0 files changed, 0 insertions, 0 deletions