En

Quagga官网普通更新(2018-02-19)

来源:Quagga官网 发布日期:2018-02-19 阅读次数:258 评论:0

基本信息

发布日期:2018-02-19(官方当地时间)

更新类型:普通更新

更新版本:quagga-1.2.4

感知时间:2019-12-06 15:08:55

风险等级:未知

情报贡献:TSRC

更新标题

普通更新

更新详情

A brown paper release, to fix an error causing asserts in daemons. See https://bugzilla.quagga.net/show_bug.cgi?id=975. With thanks to Sergey Popov, Andreas Nilsson and Xiami.

Summary of changes:

lib: Fix assert in thread_add_unuse if thread_execute was used lib: Avoid re-definition of IPPROTO_IP with some versions of Linux

Full changelog:

commit 9d7a49f609 Author: Paul Jakma paul@jakma.org Date: Mon Feb 19 20:55:20 2018 +0000

lib: Fix assert in thread_add_unuse if thread_execute was used

* thread.c: (thread_call) thread_execute passes in a dummy thread, on its
stack, with a NULL thread master. Those shouldn't be added to the unuse
list or thread_add_unuse rightly asserts.

Fix this very dumb bug.

See https://bugzilla.quagga.net/show_bug.cgi?id=975

With thanks to Sergey Popov, admin@pinkbyte.ru, and Andreas Nilsson,
andrnils@resilans.se, for help with diagnosis and testing.
commit fed50218de Author: Xiami taopy@vip.qq.com Date: Sun Feb 4 16:35:42 2018 +0000

lib: Avoid re-definition of IPPROTO_IP with some versions of Linux

* Starting from linux-4.11 [commit
bcb41c6bced1ee778d23c53a6b4807fb08cf5540], linux/mroute.h includes
linux/in.h , that makes gcc roar a lot of things like "error:
redeclaration of enumerator 'IPPROTO_IP'" when compiling quagga-1.2.2

lib/zebra.h includes sys/capability.h first, then includes
netinet/in.h . In sys/capability.h, it includes linux/xattr.h, and
that includes linux/libc-compat.h . Since at that time netinet/in.h is
not included yet, _NETINET_IN_H is not defined, causing libc-compat.h
set __UAPI_DEF_IN_IPPROTO to 1. Then, a include of netinet/in.h
defines IPPROTO_IP. Later a include of linux/mroute.h includes
linux/in.h. Because __UAPI_DEF_IN_IPPROTO is set to non zero,
IPPROTO_IP is redeclared.

* lib/zebra.h: Move the privs/capabilities include block to after the
network block.

软件描述

Quagga是一个开源的基于Zebra实现了RIP, OSPF, BGP的动态路由软件

CVE编号

TSRC分析

暂无

业界资讯

暂无

评论

提交评论 您输入的评论有误,请重新输入