]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: variable-length array of size 0 replaced by alloca()'d pointer
authorMaria Matejka <mq@ucw.cz>
Fri, 16 Aug 2019 10:47:13 +0000 (12:47 +0200)
committerMaria Matejka <mq@ucw.cz>
Sat, 17 Aug 2019 11:49:10 +0000 (13:49 +0200)
commit051f258cad657e18057fc2aad2e324399a6c5d94
tree09cd1ae934b28be0be074c61a43b3dad5befcec0
parent05b8620a81432f3aee41701aa2301de2d5a8cc1f
OSPF: variable-length array of size 0 replaced by alloca()'d pointer

NULL pointer is safer than a random pointer onto stack if this function
gets changed and eventually broken.
proto/ospf/ospf.c