]> git.ipfire.org Git - thirdparty/vala.git/commit
libvaladoc: Don't change the size of an array in-parameter
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Jan 2019 16:05:30 +0000 (17:05 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Jan 2019 17:47:43 +0000 (18:47 +0100)
commita0d437af1ef37cdf7f985d7aa856b3bdb9eeeb9b
tree33fe9b02e5b222675b1f90f7d198ed80f45f95de
parent9c130ffe0e099a722cb21ba3102f8c6ab40e26da
libvaladoc: Don't change the size of an array in-parameter

Avoid a possible memory issue while the resize of an array reference is
possible, the new length can't be propagated back to the caller.

Issue an warning for unexpected string lengths.
libvaladoc/markupwriter.vala