diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-24 10:59:15 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-24 10:59:15 +0100 |
commit | a02044a3b9a44e24699311ed753491ebca472c62 (patch) | |
tree | 01c94a6c09963c4a8fcf160ba32e046a144d6de3 /src/irmd/apn_table.c | |
parent | 6688251a7a18f267535c5369c1e856d2c2c1605e (diff) | |
download | ouroboros-a02044a3b9a44e24699311ed753491ebca472c62.tar.gz ouroboros-a02044a3b9a44e24699311ed753491ebca472c62.zip |
ipcpd: normal: Fix segfault in dijkstra calculation
This fixes a dumb segfault in the dijkstra calculation. If an entry
can be removed from the table it was set to NULL. However, if the
table is completely empty, the index was -1, resulting in an illegal
access into the table.
Diffstat (limited to 'src/irmd/apn_table.c')
0 files changed, 0 insertions, 0 deletions