ensure structure has enough space for embedded string
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 30 Sep 2005 16:49:23 +0000 (16:49 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 30 Sep 2005 16:49:23 +0000 (16:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6702 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/manager.h

index 7180606..6ee977b 100755 (executable)
@@ -68,7 +68,7 @@
 
 struct eventqent {
        struct eventqent *next;
-       char eventdata[0];
+       char eventdata[1];
 };
 
 struct mansession {