提交 6b3e10ac 编写于 作者: O openharmony_ci 提交者: Gitee

!575 代码扫描问题处理 同步3.1beta

Merge pull request !575 from pssea/cherry-pick-1640845465
......@@ -41,7 +41,7 @@ public:
ImagePixelFormat format, uint32_t stride) override
{
if ((virAddr == nullptr) || ((format != IMAGE_PIXEL_FORMAT_ARGB1555) &&
(format != IMAGE_PIXEL_FORMAT_ARGB8888))) {
(format != IMAGE_PIXEL_FORMAT_ARGB8888)) || (width == 0) || (height == 0)) {
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册