(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fldb.c) |
| |
| 238 | | | dissect_afsnetaddr (tvbuff_t * tvb, int offset, |
| 239 | | | packet_info * pinfo, proto_tree * parent_tree, |
| 240 | | | guint8 * drep) |
| 241 | | | { |
| 242 | | | proto_item *item = NULL; |
| 243 | | | proto_tree *tree = NULL; |
| 244 | | | int old_offset = offset; |
| 245 | | | guint16 type; |
| 246 | | | guint8 data; |
| 247 | | | int i; |
| 248 | | | |
| 249 | | | if (parent_tree) |
Event 1:
Skipping " if". parent_tree evaluates to false.
hide
|
|
| 250 | | | { |
| 251 | | | item = proto_tree_add_text (parent_tree, tvb, offset, -1, |
| 252 | | | "afsNetAddr:"); |
| 253 | | | tree = proto_item_add_subtree (item, ett_fldb_afsnetaddr); |
| 254 | | | } |
| 255 | | | |
| 256 | | | |
| 257 | | | |
| 258 | | | |
| 259 | | | |
| 260 | | | offset = |
| 261 | | | dissect_ndr_uint16 (tvb, offset, pinfo, tree, drep, |
| 262 | [+] | | hf_fldb_afsnetaddr_type, &type); |
Event 2:
dissect_ndr_uint16() does not initialize type. - This may be because of a failure case or other special case for dissect_ndr_uint16().
hide
|
|
 |
| 263 | | | |
| 264 | | | if (type) |
Uninitialized Variable
type was not initialized. The issue can occur if the highlighted code executes. See related event 2. Show: All events | Only primary events |
|
| |