diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-19 23:54:34 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-20 08:00:23 +0200 |
commit | a3143aa0dec78177e522858fbf786494c75512a0 (patch) | |
tree | 7e51218ed127dba4b143e9133b11de3498261c63 /svx | |
parent | 9d936de849f1d2267dc733d38ff66d66490b04f7 (diff) |
tdf#120703 (PVS): properly handle BSTR; fix enum comparison
V505 The 'alloca' function is used inside the loop. This can quickly overflow
stack.
V745 A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string.
Consider using 'SysAllocString' function.
V768 The variable 'mnVersion' is of enum type. It is odd that it is used as a
variable of a Boolean-type.
Change-Id: If7533483a53467b6901d1f39411a634d77bbd840
Reviewed-on: https://gerrit.libreoffice.org/62033
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions