]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Emit postconditions before free'ing local variables
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 12 Mar 2020 23:01:09 +0000 (00:01 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 24 Mar 2020 08:50:25 +0000 (09:50 +0100)
commit43fa9f0ee66ad02852867ddc25d9508190abe50a
tree80ddffa94b37743f166634886bfa25a382858c89
parent3575e601cd863fad4d3b2f3fd91fde39d6f3bfa1
codegen: Emit postconditions before free'ing local variables

It was possible to cause segmentation-faults or use-after-free errors.
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/methods/postconditions.vala [new file with mode: 0644]