CVE漏洞修复

Signed-off-by: wxc <wangxiaocai@huawei.com>
This commit is contained in:
wxc
2026-02-24 21:13:45 +08:00
parent 4381b6c7dd
commit 4a3f2def7a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -195,4 +195,5 @@ ohos_shared_library("libtiff") {
output_extension = "so"
install_images = [ "system" ]
ldflags = [ "-Wl,-Map=libtiff.map" ]
}
+2 -1
View File
@@ -2907,8 +2907,9 @@ int main(int argc, char *argv[])
}
/* If we did not use the read buffer as the crop buffer */
if (read_buff && read_buff != crop_buff)
if (read_buff && read_buff != crop_buff) {
_TIFFfree(read_buff);
}
if (crop_buff)
_TIFFfree(crop_buff);