diff options
author | Dimitri Staessens <[email protected]> | 2018-05-07 17:21:26 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-05-07 17:27:49 +0200 |
commit | 9a262df133d8305c06b3f99f505e4d07a26cca9d (patch) | |
tree | c2a0e86178ac42196586c51b750dfa2ea736480c /README | |
parent | 7d6fabc5bfb227ed76376a68a820aa243b0d7f53 (diff) | |
download | ouroboros-9a262df133d8305c06b3f99f505e4d07a26cca9d.tar.gz ouroboros-9a262df133d8305c06b3f99f505e4d07a26cca9d.zip |
irmd: Fix use-after-free in mainloop
The ret_msg struct was free'd but its result could be accessed after a
failed write. Fixed by storing the results of the commands in a
temporary variable and accessing this upon write failure. Also
simplifies some other code.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions