forked from pool/kbuild
Accepting request 98639 from devel:tools:building
- Fix wrong size parameter in memset call (forwarded request 98312 from namtrac) OBS-URL: https://build.opensuse.org/request/show/98639 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbuild?expand=0&rev=21
This commit is contained in:
commit
f9c8fc3b55
13
kbuild-wrong-memset.patch
Normal file
13
kbuild-wrong-memset.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: kbuild-0.1.9998svn2543/src/lib/md5.c
|
||||||
|
===================================================================
|
||||||
|
--- kbuild-0.1.9998svn2543.orig/src/lib/md5.c
|
||||||
|
+++ kbuild-0.1.9998svn2543/src/lib/md5.c
|
||||||
|
@@ -144,7 +144,7 @@ void MD5Final(unsigned char digest[16],
|
||||||
|
MD5Transform(ctx->buf, (uint32 *) ctx->in);
|
||||||
|
byteReverse((unsigned char *) ctx->buf, 4);
|
||||||
|
memcpy(digest, ctx->buf, 16);
|
||||||
|
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
|
||||||
|
+ memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 15:20:13 UTC 2011 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Fix wrong size parameter in memset call
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 2 15:50:58 UTC 2011 - coolo@suse.com
|
Fri Dec 2 15:50:58 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -21,9 +21,9 @@ BuildRequires: automake
|
|||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
|
Summary: Framework for writing simple makefiles for complex tasks
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Summary: Framework for writing simple makefiles for complex tasks
|
|
||||||
Version: 0.1.9998svn2543
|
Version: 0.1.9998svn2543
|
||||||
Release: 0
|
Release: 0
|
||||||
%define _svnrev 2543
|
%define _svnrev 2543
|
||||||
@ -36,6 +36,7 @@ Patch4: glibc-2.10.diff
|
|||||||
Patch5: kbuild-pthread.diff
|
Patch5: kbuild-pthread.diff
|
||||||
Patch6: kbuild-timestamps.diff
|
Patch6: kbuild-timestamps.diff
|
||||||
Patch7: kbuild-armv7l.diff
|
Patch7: kbuild-armv7l.diff
|
||||||
|
Patch8: kbuild-wrong-memset.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -64,6 +65,7 @@ Authors:
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user