diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2017-06-23 18:09:38 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-06-24 10:33:18 +0000 |
commit | bb20b159f35455c41a8f077724f685508e0823b6 (patch) | |
tree | 885754b0a1f4b8407f2545cb133e85d934c8a601 /wsutil/crc16.h | |
parent | d8710f4aa4e25753130b534b7b8a99601df472dd (diff) | |
download | wireshark-bb20b159f35455c41a8f077724f685508e0823b6.tar.gz |
addr_types: replace DISSECTOR_ASSERT() with g_assert()
DISSECTOR_ASSERT() can be used only when we're in wmem packet scope. It
cannot be used during startup when address types are registered. In
those cases, we must use g_assert().
If we still use DISSECTOR_ASSERT() and an assert is hit, we'll see a
wmem assertion
**
ERROR:../epan/wmem/wmem_core.c:52:wmem_alloc: assertion failed:
(allocator->in_scope)
Aborted
instead of the actual assert output.
Change-Id: Ife12ca3455d56ba4faa2dd6034df8a091d8641ed
Reviewed-on: https://code.wireshark.org/review/22378
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil/crc16.h')
0 files changed, 0 insertions, 0 deletions