Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
master
graphic_graphic_2d
/
interfaces
/
kits
/
napi
/
graphic
下载当前目录
Startidal001
编译规范问题修复
d94a1fd7
创建于
10 天前
历史提交
文件
最后提交记录
最后更新时间
animation
build.gn remove public Signed-off-by: Rostellaria <xiaoshaoan@huawei.com>
2 个月前
color_manager
编译告警修复 Signed-off-by: jimsu7 <suzhe8@huawei.com>
18 天前
drawing
fix codecheck Signed-off-by: dreamyhhh <hangmengxin@huawei.com>
18 天前
effect_kit
编译规范问题修复 Signed-off-by: Starloser <18795137338@163.com>
10 天前
hdr_capability
add AIHDR format Signed-off-by: show-chen <sunzhenyang1@huawei.com>
2 个月前
hyper_graphic_manager
fix: Apply code style fixes to hyper_graphic_manager module Apply consistent code style across hyper_graphic_manager module and related paths: - Add blank lines before private/protected keywords - Remove trailing spaces - Remove redundant std::string empty initialization - Change member variable init from = {} to {} style - Sort include files alphabetically within each group - Add blank line between STL and project includes - Fix reference operator placement next to type Affected paths: - rosen/modules/hyper_graphic_manager/ - rosen/modules/render_service/core/feature/hyper_graphic_manager/ - rosen/modules/render_service_client/core/feature/hyper_graphic_manager/ - rosen/modules/render_service_base/src/feature/hyper_graphic_manager/ - interfaces/inner_api/hyper_graphic_manager/ - interfaces/kits/napi/graphic/hyper_graphic_manager/ - rosen/test/hyper_graphic_manager/ Signed-off-by: wh_qwe <taylor.wanghao@huawei.com> Co-Authored-By: Agent
22 天前
ui_effect
!30015
merge master into master fix compile problem of arkui-x. Created-by: gcw_yxxmv6uE Commit-by: gcw_yxxmv6uE Merged-by: openharmony_ci Description: **Description:** **Issue number:**
https://gitcode.com/openharmony/graphic_graphic_2d/issues/23674
**Test & Result:** **CodeCheck:** <table> <thead> <tr> <th>类型</th> <th>自检项</th> <th>自检结果</th> </tr> </thead> <tbody> <tr> <td rowspan="2"><strong>多线程</strong></td> <td>在类的成员变量中定义了vector/map/list等容器类型,且在多个成员函数中有操作时,需要加锁保护</td> <td>自检结果:</td> </tr> <tr> <td>定义全局变量,在多个函数中都有操作时,需要加锁保护</td> <td>自检结果:</td> </tr> <tr> <td rowspan="4"><strong>内存操作</strong></td> <td>调用外部接口时,确认是否对返回值做了判空判断,尤其外部接口返回了nullptr的情况,避免进程崩溃</td> <td>自检结果:</td> </tr> <tr> <td>内存操作优先使用安全函数,并检查其返回值</td> <td>自检结果:</td> </tr> <tr> <td>注意每个异常退出流程,是否都已经将资源释放(推荐使用RAII)</td> <td>自检结果:</td> </tr> <tr> <td>隐式内存分配场景:realpath、ReadParcelable序列化、cJSON相关函数时等,需主动释放或使用智能指针</td> <td>自检结果:</td> </tr> <tr> <td rowspan="3"><strong>外部输入</strong></td> <td>所有外部输入均不可信,需判断外部输入是否直接作为内存分配的大小,数组下标、循环条件、SQL查询等</td> <td>自检结果:</td> </tr> <tr> <td>注意外部字符串数据有无尾0</td> <td>自检结果:</td> </tr> <tr> <td>外部输入的路径不可信,需使用realpath做标准化处理,并判断路径的合法性</td> <td>自检结果:</td> </tr> <tr> <td><strong>敏感信息</strong></td> <td>注意日志中打印敏感信息需匿名化</td> <td>自检结果:</td> </tr> <tr> <td><strong>数学运算</strong></td> <td>代码中是否混合了加减乘除等运算,需检查是否可能导致整数溢出或符号翻转</td> <td>自检结果:</td> </tr> <tr> <td><strong>初始化</strong></td> <td>类成员、局部变量使用前需初始化</td> <td>自检结果:</td> </tr> <tr> <td><strong>权限管理</strong></td> <td>作为系统服务对外提供了接口(或RSCmd),是否做了权限保护和校验,只允许申请了权限的应用访问</td> <td>自检结果:</td> </tr> </tbody> </table> ### L0新增用例自检结果 - [ ] 是,有新增L0用例,且完成自检 - [ ] 否 See merge request: openharmony/graphic_graphic_2d
!30015
14 天前
webgl
WebGL漏洞修复 Signed-off-by: Charles_zz <490686690@qq.com>
1 个月前