tvb_get_ephemeral_string() is defined never to return null (currently,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 16 Apr 2008 07:23:56 +0000 (07:23 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 16 Apr 2008 07:23:56 +0000 (07:23 +0000)
it aborts - even if we don't make it abort, we should make it throw an
assertion, so we abort the dissection of the packet and let the user
know that we ran out of memory).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25069 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-kismet.c

index b9668f7f95b9896f4d31e8734fe0476c2448a306..cb5bc262328c1b3894c0ee5ae9d8a60add4d5f44 100644 (file)
@@ -178,7 +178,6 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
                                         * No request dissection
                                         */
                                } else {
-                                       DISSECTOR_ASSERT(reqresp);
                                        /*
                                         * *KISMET: {Version} {Start time} \001{Server name}\001 {Build Revision}
                                         * two fields left undocumented: {???} {?ExtendedVersion?}