https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3552
Summary: packet-dcerpc-eventlog.c: issue with generated code ?
Product: Wireshark
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: wmeier@xxxxxxxxxxx
Build Information:
--
Looking packet-dcerpc-eventlog.c I see the following (extracted) pidl-generated
code which does nothing useful for the EVENTLOG_SUCCESS bit-flag.
/* IDL: bitmap { */
/* IDL: EVENTLOG_SUCCESS = 0x0000 , */
/* IDL: EVENTLOG_ERROR_TYPE = 0x0001 , */
/* IDL: EVENTLOG_WARNING_TYPE = 0x0002 , */
/* IDL: EVENTLOG_INFORMATION_TYPE = 0x0004 , */
/* IDL: EVENTLOG_AUDIT_SUCCESS = 0x0008 , */
/* IDL: EVENTLOG_AUDIT_FAILURE = 0x0010 , */
/* IDL: } */
int
eventlog_dissect_bitmap_eventlogEventTypes(tvbuff_t *tvb _U_, int offset _U_,
packet_info *pinfo _U_, proto_tree *parent_tree _U_, guint8 *drep _U_, int
hf_index _U_, guint32 param _U_)
{
<snip>
if (!flags)
proto_item_append_text(item, "(No values set)");
proto_tree_add_boolean(tree, hf_eventlog_eventlogEventTypes_EVENTLOG_SUCCESS,
tvb, offset-4, 4, flags);
if (flags&( 0x0000 )){
proto_item_append_text(item, "EVENTLOG_SUCCESS");
if (flags & (~( 0x0000 )))
proto_item_append_text(item, ", ");
}
flags&=(~( 0x0000 ));
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.