(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 2027 | | | dissect_job_status(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 2028 | | | proto_tree *tree, guint8 *drep) |
| 2029 | | | { |
| 2030 | | | proto_item *item; |
| 2031 | | | proto_tree *subtree; |
| 2032 | | | guint32 status; |
| 2033 | | | |
| 2034 | | | offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, |
| 2035 | [+] | | hf_job_status, &status); |
Event 1:
dissect_ndr_uint32() does not initialize status. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 2036 | | | |
| 2037 | | | item = proto_tree_add_text(tree, tvb, offset - 4, 4, |
| 2038 | | | "Status: 0x%08x", status); |
Uninitialized Variable
status was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| |