diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-08 17:22:45 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-17 18:45:26 +0400 |
commit | 484af2c2e0efe660e00e27647a19f1837a7fa437 (patch) | |
tree | a0556cdc4d7d5bb47a0ca8a88e4b68ad839fe1ca /ospfd/ospf_opaque.h | |
parent | f17b65213712f324314c58866c4f4f8ed9c95dc7 (diff) |
ospf6d: make some old sizing checks assertions
As long as ospf6_packet_examin() is now the single checkpoint for
received packets, most of the old checks performed elsewhere can
be converted into assert() constructs. Malformed input data at
respective points can be attributed solely to a programming error,
not a malformed packet.
* ospf6_message.c
* ospf6_hello_print()
* ospf6_dbdesc_print()
* ospf6_lsreq_print()
* ospf6_lsupdate_print()
* ospf6_lsack_print()
* ospf6_hello_recv()
* ospf6_dbdesc_recv_master()
* ospf6_dbdesc_recv_slave()
* ospf6_lsreq_recv()
* ospf6_lsupdate_recv()
* ospf6_lsupdate_recv()
* ospf6_lsack_recv()
* ospf6_receive()
Diffstat (limited to 'ospfd/ospf_opaque.h')
0 files changed, 0 insertions, 0 deletions