Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lnussel:usrmerge
syslogd
sysklogd-1.4.1-CVE-2014-3634.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysklogd-1.4.1-CVE-2014-3634.patch of Package syslogd
--- syslog.c | 6 ++++++ syslogd.c | 7 +++++++ 2 files changed, 13 insertions(+) --- syslog.c +++ syslog.c 2014-09-24 16:09:26.062235727 +0000 @@ -75,6 +75,13 @@ static char sccsid[] = "@(#)syslog.c 5.2 #define _PATH_LOGNAME "/dev/log" +#undef LOG_FAC +static inline int LOG_FAC(const int pri) +{ + unsigned int fac = pri >> 3; + return (fac > 23) ? 23 : fac; +} + #include "fortify.h" static int LogFile = -1; /* fd for log */ --- syslogd.c +++ syslogd.c 2014-09-22 08:18:13.122235747 +0000 @@ -614,6 +614,13 @@ static char sccsid[] __attribute__ ((un #define SYSTEMD_PATH_LOG "/run/systemd/journal/syslog" #endif +#undef LOG_FAC +static inline int LOG_FAC(const int pri) +{ + unsigned int fac = pri >> 3; + return (fac > 23) ? 23 : fac; +} + char *ConfFile = _PATH_LOGCONF; char *PidFile = _PATH_LOGPID; char ctty[] = _PATH_CONSOLE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor