- 论坛徽章:
- 0
|
因为bash漏洞升级bash 2.05b
http://ftp.gnu.org/gnu/bash/上已有bash 205b-13的patch
尝试修改builtins/evalstring.c,在struct fd_bitmap *bitmap后面加入- if ((flags & SEVAL_FUNCDEF) && command->type != cm_function_def)
- {
- internal_warning ("%s: ignoring function definition attempt", from_file);
- should_jump_to_top_level = 0;
- last_result = last_command_exit_value = EX_BADUSAGE;
- break;
- }
复制代码 编译后提示evalstring.c:207: `SEVAL_FUNCDEF' undeclared (first use in this function)
有高手能否提点一二,操作系统是Linux 7.3 ,目前状况暂时无法升级操作系统,
7.3的yum也安装,yum update bash 提示没有更新。 |
|