From cb95ca9c644a5744d4392f7bac6f2c2b3985a272 Mon Sep 17 00:00:00 2001 From: lahiker42 Date: Tue, 10 Mar 2009 02:51:10 +0000 Subject: [PATCH] i guess this is too rude git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@180 00440858-1255-0410-a3e6-75ea37f81c3a --- src/google/protobuf-c/protobuf-c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/google/protobuf-c/protobuf-c.c b/src/google/protobuf-c/protobuf-c.c index 4771a13..15ca3f4 100644 --- a/src/google/protobuf-c/protobuf-c.c +++ b/src/google/protobuf-c/protobuf-c.c @@ -1483,7 +1483,8 @@ protobuf_c_message_unpack (const ProtobufCMessageDescriptor *desc, } case PROTOBUF_C_WIRE_TYPE_START_GROUP: case PROTOBUF_C_WIRE_TYPE_END_GROUP: - PROTOBUF_C_ASSERT_NOT_REACHED (); + UNPACK_ERROR (("unsupported group tag at offset %u", (unsigned)(at-data))); + goto error_cleanup; case PROTOBUF_C_WIRE_TYPE_32BIT: if (rem < 4) {