Patchwork cifs-utils: security bump to version 5.4

login
register
mail settings
Submitter Gustavo Zacarias
Date May 8, 2012, 11:51 a.m.
Message ID <1336477878-19684-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/157673/
State Accepted
Commit 18bd541dd02b153427fb4f010a6426c8e91bef1b
Headers show

Comments

Gustavo Zacarias - May 8, 2012, 11:51 a.m.
Fixes CVE-2012-1586.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/cifs-utils/cifs-utils.mk |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
Peter Korsgaard - May 8, 2012, 10:23 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Fixes CVE-2012-1586.
 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

Patch

diff --git a/package/cifs-utils/cifs-utils.mk b/package/cifs-utils/cifs-utils.mk
index 52ad5ce..0fdb689 100644
--- a/package/cifs-utils/cifs-utils.mk
+++ b/package/cifs-utils/cifs-utils.mk
@@ -1,5 +1,11 @@ 
-CIFS_UTILS_VERSION = 5.1
+CIFS_UTILS_VERSION = 5.4
 CIFS_UTILS_SOURCE  = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
 CIFS_UTILS_SITE    = ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/
 
+define CIFS_UTILS_NO_WERROR
+	$(SED) 's/-Werror//' $(@D)/Makefile.in
+endef
+
+CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
+
 $(eval $(call AUTOTARGETS))