Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519262 - dev-libs/libmirage-2.1.1 fails to process big mdf/mds images
Summary: dev-libs/libmirage-2.1.1 fails to process big mdf/mds images
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL: http://sourceforge.net/p/cdemu/bugs/75/
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-06 22:32 UTC by Optimus
Modified: 2015-02-22 23:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
MDS size overflow patch (mds-size-overflow.patch,1.08 KB, patch)
2014-08-06 22:32 UTC, Optimus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Optimus 2014-08-06 22:32:56 UTC
Created attachment 382416 [details, diff]
MDS size overflow patch

When I try to read mounted with cdemu mdf/mds image at amd64 arch computer I got such errors in dmesg: "attempt to access beyond end of device". This is due known bug in MDS parser where fragment length overflows because it try to store file size into 32-bit int. The issue has been fixed in git already, and the attached patch should apply to libmirage-2.1.1 source.

Link to the bug: http://sourceforge.net/p/cdemu/bugs/75/
Comment 1 Rafał Mużyło 2014-08-07 00:29:18 UTC
...a version bump for the whole set has already been filed (bug 518590).
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-02-22 23:26:10 UTC
Thanks for reporting, this is fixed by libmirage-3.0.3 (added to the tree yesterday).