(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/profinet/packet-dcom-cba.c) |
| |
| 575 | | | dissect_ICBAPhysicalDevice_get_LogicalDevice_rqst(tvbuff_t *tvb, int offset, |
| 576 | | | packet_info *pinfo, proto_tree *tree, guint8 *drep) |
| 577 | | | { |
| 578 | | | guint32 u32Pointer; |
| 579 | | | gchar szStr[1000]; |
| 580 | | | guint32 u32MaxStr = sizeof(szStr); |
| 581 | | | dcerpc_info *info = (dcerpc_info *) pinfo->private_data; |
| 582 | | | gchar *call; |
| 583 | | | |
| 584 | | | |
| 585 | | | offset = dissect_dcom_this(tvb, offset, pinfo, tree, drep); |
| 586 | | | |
| 587 | | | offset = dissect_dcom_dcerpc_pointer(tvb, offset, pinfo, tree, drep, |
| 588 | | | &u32Pointer); |
| 589 | | | if (u32Pointer) { |
Event 1:
Skipping " if". u32Pointer evaluates to false.
hide
|
|
| 590 | | | offset = dissect_dcom_BSTR(tvb, offset, pinfo, tree, drep, |
| 591 | | | hf_cba_name, szStr, u32MaxStr); |
| 592 | | | } |
| 593 | | | |
| 594 | | | if(szStr != NULL) { |
Event 2:
Taking true branch. szStr != (void *)0 evaluates to true.
hide
|
|
| 595 | [+] | | call = se_strdup(szStr); |
Event 3:
szStr is passed to se_strdup().
hide
Event 4:
se_strdup() does not initialize szStr. - This may be because of a failure case or other special case for se_strdup().
hide
|
|
 |
| |