]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Check param for null before using it
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 22 Jul 2020 08:16:39 +0000 (10:16 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 26 Jul 2020 08:55:29 +0000 (10:55 +0200)
commit4f0046ace6dab775ef0a6ac5e547c35419f36599
tree6cf1a179231034a8eba5e13d97e222698e9882a2
parentfa69d6030a3e53967d72cf9b7ba428f3b35d0af5
codegen: Check param for null before using it

Regression of 5490b0b21a4089d803d51c91311430d60d266f7b

This caused criticals like:

  vala_get_ccode_array_length: assertion 'node != NULL' failed

See https://gitlab.gnome.org/GNOME/vala/issues/929
codegen/valaccodemethodcallmodule.vala
tests/Makefile.am
tests/methods/varargs-ref.vala [new file with mode: 0644]