summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pff.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-10-23 17:47:52 +0200
committerSander Vrijders <[email protected]>2017-10-23 18:19:18 +0200
commit3d9501007a24bf5422335238960f6777d2684d35 (patch)
tree22326bbba7109b0adab59b1f4e18c59aedd23ddd /src/ipcpd/normal/pff.h
parent2b1f71e7993070cbc8b37d44a44d8c6554ef0631 (diff)
downloadouroboros-3d9501007a24bf5422335238960f6777d2684d35.tar.gz
ouroboros-3d9501007a24bf5422335238960f6777d2684d35.zip
lib: Fix exit bug in dev.c
If the library init() fails, the fini() call tries to access unreleased resources. The fix resets the ai struct to 0 if init() fails and checks a heap pointer for NULL before the fini() accesses internals. Signed-off-by: dimitri staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/normal/pff.h')
0 files changed, 0 insertions, 0 deletions