Inline allocated arrays can be initialized with too many elements
Compiling the following program:
public void main() {
uint8 hash[1];
hash = {1, 2, 3};
}
Causes this output upon execution:
*** stack smashing detected ***: terminated
Aborted (core dumped)
$ valac --version
Vala 0.56.7
Edited by Sam Wilson