commit acpid for openSUSE:Factory
Hello community, here is the log from the commit of package acpid for openSUSE:Factory checked in at 2011-12-30 08:45:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/acpid (Old) and /work/SRC/openSUSE:Factory/.acpid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "acpid", Maintainer is "hmacht@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/acpid/acpid.changes 2011-12-25 17:32:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2011-12-30 08:45:19.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 27 10:55:50 UTC 2011 - idonmez@suse.com + +- Fix wrong size parameter in memset call + +------------------------------------------------------------------- New: ---- acpid-wrong-memset.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ acpid.spec ++++++ --- /var/tmp/diff_new_pack.sO7tfh/_old 2011-12-30 08:45:20.000000000 +0100 +++ /var/tmp/diff_new_pack.sO7tfh/_new 2011-12-30 08:45:20.000000000 +0100 @@ -16,15 +16,14 @@ # - Name: acpid Url: http://tedfelix.com/linux/acpid-netlink.html Version: 2.0.13 -Release: 5 -License: GPL-2.0+ -Group: System/Daemons +Release: 0 PreReq: %insserv_prereq %fillup_prereq Summary: Executes Actions at ACPI Events +License: GPL-2.0+ +Group: System/Daemons Source: http://tedfelix.com//linux/%{name}-%{version}.tar.gz Source2: rcacpid Source3: README.SuSE @@ -35,6 +34,7 @@ Source7: power_button Source8: acpid.service Patch1: acpid-makefile.patch +Patch2: acpid-wrong-memset.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: systemd ExclusiveArch: %ix86 x86_64 ia64 @@ -50,7 +50,9 @@ %prep %setup -q -%patch1 -p0 +%patch1 +%patch2 -p1 + cp %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:9} . %build ++++++ acpid-wrong-memset.patch ++++++ Index: acpid-2.0.13/libnetlink.c =================================================================== --- acpid-2.0.13.orig/libnetlink.c +++ acpid-2.0.13/libnetlink.c @@ -41,7 +41,7 @@ int rtnl_open_byproto(struct rtnl_handle int sndbuf = 32768; int rcvbuf = 32768; - memset(rth, 0, sizeof(rth)); + memset(rth, 0, sizeof(*rth)); rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol); if (rth->fd < 0) { -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de