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
=== modified file 'debian/changelog'
--- debian/changelog 2014-04-16 16:41:35 +0000
+++ debian/changelog 2014-11-05 16:51:11 +0000
@@ -1,3 +1,10 @@
1util-linux (2.20.1-5.1ubuntu20.1) trusty; urgency=medium
2
3 * partx/partx.h: Fix partx_add_partition to take 64 bit
4 offsets to avoid wrapping above 4 GB (LP: #1389321)
5
6 -- Phillip Susi <psusi@ubuntu.com> Wed, 05 Nov 2014 11:30:17 -0500
7
1util-linux (2.20.1-5.1ubuntu20) trusty; urgency=medium8util-linux (2.20.1-5.1ubuntu20) trusty; urgency=medium
29
3 * Revert the previous change, as it subtly perturbs apt's unlooping10 * Revert the previous change, as it subtly perturbs apt's unlooping
411
=== modified file 'partx/partx.h'
--- partx/partx.h 2013-02-04 15:40:51 +0000
+++ partx/partx.h 2014-11-05 16:51:11 +0000
@@ -35,7 +35,7 @@
35}35}
3636
37static inline int partx_add_partition(int fd, int partno,37static inline int partx_add_partition(int fd, int partno,
38 unsigned long start, unsigned long size)38 unsigned long long start, unsigned long long size)
39{39{
40 struct blkpg_ioctl_arg a;40 struct blkpg_ioctl_arg a;
41 struct blkpg_partition p;41 struct blkpg_partition p;

Subscribers

People subscribed via source and target branches

to all changes: