]> git.ipfire.org Git - thirdparty/bird.git/commit
Enforcing certain data structure explicit paddings.
authorMaria Matejka <mq@ucw.cz>
Thu, 14 Apr 2022 14:51:18 +0000 (16:51 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 4 May 2022 13:37:41 +0000 (15:37 +0200)
commit1d309c4ce6e95b68c64a8f007f6dd2f1830a5707
treefe84dc4c6681c127daee871670aa617e8e2377b5
parentc1194ab7edbb17cb7371ac38e6eab5ae3ae72163
Enforcing certain data structure explicit paddings.

Implicit paddings have undefined values in C. We want the eattr blocks
to be comparable by memcmp and eattrs settable directly by structrure
literals. This check ensures that all paddings in eattr and bval are
explicit and therefore zeroed in all literals.
aclocal.m4
configure.ac
lib/Makefile
lib/birdlib.h
lib/route.h
lib/type.h
lib/type_test.c [new file with mode: 0644]
nest/Makefile
nest/bird.h