(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-spoolss.c) |
| |
| 5190 | | | static int SpoolssWritePrinter_r(tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 5191 | | | proto_tree *tree, guint8 *drep) |
| 5192 | | | { |
| 5193 | | | guint32 size; |
| 5194 | | | |
| 5195 | | | |
| 5196 | | | |
| 5197 | | | offset = dissect_ndr_uint32( |
| 5198 | | | tvb, offset, pinfo, tree, drep, hf_writeprinter_numwritten, |
| 5199 | [+] | | &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
|
|
 |
| 5200 | | | |
| 5201 | | | if (check_col(pinfo->cinfo, COL_INFO)) |
Event 3:
Taking true branch. check_col(...) evaluates to true.
hide
|
|
| 5202 | | | col_append_fstr( |
| 5203 | | | pinfo->cinfo, COL_INFO, ", %d bytes written", 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 |
|
| |