Merge lp:~johnjay/ubuntu/trusty/djmount/fix-segfault-1322813 into lp:ubuntu/trusty/djmount

Proposed by JohnJay
Status: Needs review
Proposed branch: lp:~johnjay/ubuntu/trusty/djmount/fix-segfault-1322813
Merge into: lp:ubuntu/trusty/djmount
Diff against target: 45 lines (+25/-0)
3 files modified
debian/changelog (+10/-0)
debian/patches/004-avoid-crash-by-using-size_t.patch (+14/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~johnjay/ubuntu/trusty/djmount/fix-segfault-1322813
Reviewer Review Type Date Requested Status
Brian Murray Needs Fixing
Review via email: mp+292070@code.launchpad.net
To post a comment you must log in.
Revision history for this message
JohnJay (johnjay) wrote :

This is intended to mirror the 0.71-7 version available for the later ubuntu releases. As far as I'm aware they have the same codebase, so I'm not sure if there's a more direct way to do this (I pulled out the trusty version and applied the patch, wrote the new commit message etc, rather than pull in the other commit directly if that makes sense in bazaar).

Revision history for this message
JohnJay (johnjay) wrote :

Some further research suggests that perhaps this should have been a sync request instead?

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for working on this, the version numbering should following the following recommendations.

https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging

So, you wouldn't want to change the version in the changelog to 0.71-7ubuntu0.1, additionally you'll want to replace unstable with trusty since that is what we are fixing it in. Finally, a reference to the Launchpad bug number should be made for the Stable Release Update process e.g. (LP: #1322813). You can learn more about the SRU process at https://wiki.ubuntu.com/StableReleaseUpdates.

Thanks for working on this!

review: Needs Fixing

Unmerged revisions

8. By JohnJay

* debian/patches/004-avoid-crash-by-using-size_t.patch:
   - Fixes segfault on 64-bit architectures when reading files
     from a mounted DLNA share (Closes: #674753, #701680)
     Thanks to Bernhard Übelacker <email address hidden> and
     John Paul Adrian Glaubitz <email address hidden>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-01-21 20:55:07 +0000
+++ debian/changelog 2016-04-16 17:12:18 +0000
@@ -1,3 +1,13 @@
1djmount (0.71-7) unstable; urgency=medium
2
3 * debian/patches/004-avoid-crash-by-using-size_t.patch:
4 - Fixes segfault on 64-bit architectures when reading files
5 from a mounted DLNA share (Closes: #674753, #701680)
6 Thanks to Bernhard Übelacker <bernhardu@vr-web.de> and
7 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
8
9 -- JohnJay <ubuntu-qqq@snkmail.com> Sat, 16 Apr 2016 17:53:05 +0100
10
1djmount (0.71-6) unstable; urgency=low11djmount (0.71-6) unstable; urgency=low
212
3 * debian/control:13 * debian/control:
414
=== added file 'debian/patches/004-avoid-crash-by-using-size_t.patch'
--- debian/patches/004-avoid-crash-by-using-size_t.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/004-avoid-crash-by-using-size_t.patch 2016-04-16 17:12:18 +0000
@@ -0,0 +1,14 @@
1## Description: add some description
2## Origin/Author: add some origin or author
3## Bug: bug URL
4--- a/djmount/file_buffer.c
5+++ b/djmount/file_buffer.c
6@@ -212,7 +212,7 @@
7 * to return the exact number of bytes requested.
8 */
9 do {
10- unsigned int read_size = size - n;
11+ size_t read_size = size - n;
12 if (n > 0) {
13 Log_Printf (LOG_DEBUG,
14 "UpnpReadHttpGet loop ! url '%s' "
015
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-04-21 16:56:57 +0000
+++ debian/patches/series 2016-04-16 17:12:18 +0000
@@ -2,3 +2,4 @@
2000_djmount.1.diff2000_djmount.1.diff
3001-libupnp-1.6.6.diff3001-libupnp-1.6.6.diff
4002-libupnp-1.6.13.diff4002-libupnp-1.6.13.diff
5004-avoid-crash-by-using-size_t.patch

Subscribers

People subscribed via source and target branches

to all changes: