summaryrefslogtreecommitdiff
path: root/cmake/AddCompileFlags.cmake
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-05-07 17:21:26 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-05-07 17:27:49 +0200
commit9a262df133d8305c06b3f99f505e4d07a26cca9d (patch)
treec2a0e86178ac42196586c51b750dfa2ea736480c /cmake/AddCompileFlags.cmake
parent7d6fabc5bfb227ed76376a68a820aa243b0d7f53 (diff)
downloadouroboros-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 <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'cmake/AddCompileFlags.cmake')
0 files changed, 0 insertions, 0 deletions