forked from osmocom/wireshark
Fix Visual Studio Code Analysis warning C6054: String 'szStr' might not be zero-terminated
svn path=/trunk/; revision=54049
This commit is contained in:
parent
fae2172c83
commit
97964f3ebd
|
@ -429,6 +429,8 @@ dissect_get_BSTR_resp(tvbuff_t *tvb, int offset,
|
|||
if (u32Pointer) {
|
||||
offset = dissect_dcom_BSTR(tvb, offset, pinfo, tree, di, drep,
|
||||
hfindex, szStr, u32MaxStr);
|
||||
} else {
|
||||
szStr[0] = '\0';
|
||||
}
|
||||
|
||||
offset = dissect_dcom_HRESULT(tvb, offset, pinfo, tree, di, drep,
|
||||
|
|
Loading…
Reference in New Issue