提交 ca776705 编写于 作者: O openharmony_ci 提交者: Gitee

!574 代码扫描问题处理

Merge pull request !574 from pssea/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册