Merge lp:~psusi/ubuntu/trusty/util-linux/fix-overflow into lp:ubuntu/trusty/util-linux

Proposed by Phillip Susi
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~psusi/ubuntu/trusty/util-linux/fix-overflow
Merge into: lp:ubuntu/trusty/util-linux
Diff against target: 27 lines (+8/-1)
2 files modified
debian/changelog (+7/-0)
partx/partx.h (+1/-1)
To merge this branch: bzr merge lp:~psusi/ubuntu/trusty/util-linux/fix-overflow
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+240753@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

I applied the patch to the current trusty-updates version (2.20.1-5.1ubuntu20.2), and uploaded. Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-04-16 16:41:35 +0000
3+++ debian/changelog 2014-11-05 16:51:11 +0000
4@@ -1,3 +1,10 @@
5+util-linux (2.20.1-5.1ubuntu20.1) trusty; urgency=medium
6+
7+ * partx/partx.h: Fix partx_add_partition to take 64 bit
8+ offsets to avoid wrapping above 4 GB (LP: #1389321)
9+
10+ -- Phillip Susi <psusi@ubuntu.com> Wed, 05 Nov 2014 11:30:17 -0500
11+
12 util-linux (2.20.1-5.1ubuntu20) trusty; urgency=medium
13
14 * Revert the previous change, as it subtly perturbs apt's unlooping
15
16=== modified file 'partx/partx.h'
17--- partx/partx.h 2013-02-04 15:40:51 +0000
18+++ partx/partx.h 2014-11-05 16:51:11 +0000
19@@ -35,7 +35,7 @@
20 }
21
22 static inline int partx_add_partition(int fd, int partno,
23- unsigned long start, unsigned long size)
24+ unsigned long long start, unsigned long long size)
25 {
26 struct blkpg_ioctl_arg a;
27 struct blkpg_partition p;

Subscribers

People subscribed via source and target branches

to all changes: