(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 2695 | | | dissect_notify_field(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 2696 | | | proto_tree *tree, guint8 *drep, guint16 type, |
| 2697 | | | guint16 *data) |
| 2698 | | | { |
| 2699 | | | guint16 field; |
| 2700 | | | const char *str; |
| 2701 | | | |
| 2702 | | | offset = dissect_ndr_uint16( |
| 2703 | | | tvb, offset, pinfo, NULL, drep, |
| 2704 | [+] | | hf_notify_field, &field); |
Event 1:
dissect_ndr_uint16() does not initialize field. - This may be because of a failure case or other special case for dissect_ndr_uint16().
hide
|
|
 |
| 2705 | | | |
| 2706 | | | switch(type) { |
Event 3:
type evaluates to 0.
hide
|
|
| 2707 | | | case PRINTER_NOTIFY_TYPE: |
| 2708 | | | str = val_to_str(field, printer_notify_option_data_vals, |
Uninitialized Variable
field was not initialized. The issue can occur if the highlighted code executes. See related event 1. Show: All events | Only primary events |
|
| 2709 | | | "Unknown"); |
| |