(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 621 | | | static int dissect_printerdata_data(tvbuff_t *tvb, int offset, |
| 622 | | | packet_info *pinfo, proto_tree *tree, |
| 623 | | | guint8 *drep _U_, guint32 type) |
| 624 | | | { |
| 625 | | | proto_item *item, *hidden_item; |
| 626 | | | proto_tree *subtree; |
| 627 | | | guint32 size; |
| 628 | | | |
| 629 | | | item = proto_tree_add_text(tree, tvb, offset, 0, "Data"); |
| 630 | | | |
| 631 | | | subtree = proto_item_add_subtree(item, ett_printerdata_data); |
| 632 | | | |
| 633 | | | offset = dissect_ndr_uint32( |
| 634 | [+] | | tvb, offset, pinfo, subtree, drep, hf_printerdata_size, &size); |
Event 1:
dissect_ndr_uint32() does not initialize size. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 635 | | | |
| 636 | | | if (size) { |
Uninitialized Variable
size was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |