(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-fileexp.c) |
| |
| 3084 | | | fileexp_dissect_setcontext_rqst (tvbuff_t * tvb, int offset, |
| 3085 | | | packet_info * pinfo, proto_tree * tree, |
| 3086 | | | guint8 *drep) |
| 3087 | | | { |
| 3088 | | | dcerpc_info *di; |
| 3089 | | | |
| 3090 | | | guint32 epochtime, clientsizesattrs, parm7; |
| 3091 | | | |
| 3092 | | | di = pinfo->private_data; |
| 3093 | | | if (di->conformant_run) |
Event 1:
Skipping " if". di->conformant_run evaluates to false.
hide
|
|
| 3094 | | | { |
| 3095 | | | return offset; |
| 3096 | | | } |
| 3097 | | | |
| 3098 | | | |
| 3099 | | | |
| 3100 | | | |
| 3101 | | | |
| 3102 | | | |
| 3103 | | | |
| 3104 | | | |
| 3105 | | | |
| 3106 | | | |
| 3107 | | | |
| 3108 | | | offset = |
| 3109 | | | dissect_dcerpc_time_t (tvb, offset, pinfo, tree, drep, |
| 3110 | | | hf_fileexp_setcontext_rqst_epochtime, &epochtime); |
| 3111 | | | |
| 3112 | | | offset = dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afsNetData, |
| 3113 | | | NDR_POINTER_REF, "afsNetData:", -1); |
| 3114 | | | |
| 3115 | | | offset = dissect_afsFlags (tvb, offset, pinfo, tree, drep); |
| 3116 | | | |
| 3117 | [+] | | if (check_col (pinfo->cinfo, COL_INFO)) col_append_str (pinfo->cinfo, COL_INFO, " setObjectID"); |
 |
| 3118 | | | |
| 3119 | | | offset = dissect_ndr_pointer (tvb, offset, pinfo, tree, drep, dissect_afsuuid, |
| 3120 | | | NDR_POINTER_REF, "afsUUID:", -1); |
| 3121 | | | offset = |
| 3122 | | | dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, |
| 3123 | | | hf_fileexp_setcontext_rqst_clientsizesattrs, |
| 3124 | | | &clientsizesattrs); |
| 3125 | | | offset = |
| 3126 | | | dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, |
| 3127 | [+] | | hf_fileexp_setcontext_rqst_parm7, &parm7); |
Event 4:
dissect_ndr_uint32() does not initialize parm7. - This may be because of a failure case or other special case for dissect_ndr_uint32().
hide
|
|
 |
| 3128 | | | |
| 3129 | | | if (check_col (pinfo->cinfo, COL_INFO)) col_append_fstr (pinfo->cinfo, COL_INFO, " epochTime:%u clientSizesAttrs:%u parm7:%u", epochtime, clientsizesattrs, parm7); |
Event 6:
Taking true branch. check_col(...) evaluates to true.
hide
Uninitialized Variable
parm7 was not initialized. The issue can occur if the highlighted code executes. See related event 4. Show: All events | Only primary events |
|
| |