Red Hat Bugzilla – Bug 189411
LTC20265- dmsetup: remove line size limit on input
Last modified: 2010-01-11 21:16:00 EST
The library was changed to support arbitrary sizes, so this is purely a
_parse_file() just needs changing to accept input lines of arbitrary size.
Changed constant to 4k upstream.
Created attachment 128258 [details]
dmsetup from IBM attached to IT on 4-25
Remove the line-size limitation when parsing the input file in dmsetup.
Use getline() instead of fgets() to remove the line-size limitation when
parsing the input file in dmsetup.
A 1317 character table file (dm-stripe of 100 dummy devices) worked with this
patch (and failed without).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.