1 Star 0 Fork 49

ganchuantao/third_party_abseil-cpp_fix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install.sh 760 Bytes
一键复制 编辑 原始数据 按行查看 历史
ganchuantao 提交于 2025-03-31 17:29 +08:00 . fix CVE-2025-0838
#!/bin/bash
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation version 2.1
# of the License.
#
# Copyright(c) 2023 Huawei Device Co., Ltd.
set -e
cd $1
{
flock -x 100
if [ -d "abseil-cpp" ];then
rm -rf abseil-cpp
fi
tar zxvf abseil-cpp-20230802.1.tar.gz
mv abseil-cpp-20230802.1 abseil-cpp
cd $1/abseil-cpp
patch -p1 < $1/abseil-cpp-20210324.2-sw.patch
patch -p1 < $1/0001-add-loongarch-suopport-for-abseil-cpp.patch
patch -p1 < $1/0002-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
patch -p1 < $1/fix-mingw-complier-error.patch
patch -p1 < $1/backport-CVE-2025-0838.patch
flock -u 100
} 100<>$1/lock_file.lock
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gan-chuantao/third_party_abseil-cpp_fix.git
git@gitee.com:gan-chuantao/third_party_abseil-cpp_fix.git
gan-chuantao
third_party_abseil-cpp_fix
third_party_abseil-cpp_fix
master

搜索帮助