~ubuntu-branches/ubuntu/utopic/libxml2/utopic

« back to all changes in this revision

Viewing changes to debian/patches/0003-Fix-missing-break-on-last-function-for-attributes.patch

  • Committer: Package Import Robot
  • Author(s): Aron Xu, Christian Svensson, Daniel Schepler, Helmut Grohne, Adam Conrad, Matthias Klose, Aron Xu
  • Date: 2014-07-09 05:40:15 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140709054015-rdnfjxrf3zvmw6l7
[ Christian Svensson ]
* Do not build-depend on readline (Closes: #742350)

[ Daniel Schepler ]
* Patch to bootstrap without python (Closes: #738080)

[ Helmut Grohne ]
* Drop unneeded B-D on perl and binutils (Closes: #753005)

[ Adam Conrad ]
* Actually run dh_autoreconf, which the old/new mixed rules file misses.

[ Matthias Klose ]
* Add patch to fix python multiarch issue
* Allow the package to cross-build by tweaking B-Ds on python
* Set PYTHON_LIBS for cross builds

[ Aron Xu ]
* Use correct $CC
* Configure udeb without python
* New round of cherry-picking upstream fixes
  - Includes fixes for CVE-2014-0191 (Closes: #747309).
* Call prename with -vf
* Require python-all-dev (>= 2.7.5-5~)
* Bump std-ver: 3.9.4 -> 3.9.5, no change

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: dcb <dcb314@hotmail.com>
2
 
Date: Thu, 2 May 2013 08:11:46 +0000
3
 
Subject: Fix missing break on last() function for attributes
4
 
 
5
 
pointed out by cppcheck
6
 
---
7
 
 python/libxml.c |    1 +
8
 
 1 file changed, 1 insertion(+)
9
 
 
10
 
diff --git a/python/libxml.c b/python/libxml.c
11
 
index 03cfb9f..3338b83 100644
12
 
--- a/python/libxml.c
13
 
+++ b/python/libxml.c
14
 
@@ -2683,6 +2683,7 @@ libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
15
 
                 xmlAttrPtr attr = (xmlAttrPtr) cur;
16
 
 
17
 
                 res = attr->last;
18
 
+               break;
19
 
             }
20
 
         default:
21
 
             res = NULL;