(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 1691 | | | dissect_spoolss_relstr(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 1692 | | | proto_tree *tree, guint8 *drep, int hf_index, |
| 1693 | | | int struct_start, char **data) |
| 1694 | | | { |
| 1695 | | | proto_item *item; |
| 1696 | | | proto_tree *subtree; |
| 1697 | | | guint32 relstr_offset, relstr_start, relstr_end; |
| 1698 | | | char *text; |
| 1699 | | | |
| 1700 | | | |
| 1701 | | | |
| 1702 | | | |
| 1703 | | | offset = dissect_ndr_uint32( |
| 1704 | [+] | | tvb, offset, pinfo, NULL, drep, hf_offset, &relstr_offset); |
Event 1:
dissect_ndr_uint32() does not initialize relstr_offset. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 1705 | | | |
| 1706 | | | relstr_start = relstr_offset + struct_start; |
Uninitialized Variable
relstr_offset was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |