Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff:storage
device-mapper
dmsetup-fix-parser-concise-tables.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dmsetup-fix-parser-concise-tables.diff of Package device-mapper
From: Kurt Garloff <kurt@garloff.de> Subject: Fix parsing of concise multi-entry tables. The parser would never proceed to the third entry and restart to process from the beginning. The patch fixes this typo. Signed-off-by: Kurt Garloff <kurt@garloff.de> --- LVM2.2.02.177/tools/dmsetup.c.orig 2017-12-18 21:44:35.000000000 +0100 +++ LVM2.2.02.177/tools/dmsetup.c 2019-01-10 13:22:07.909638399 +0100 @@ -369,7 +369,7 @@ static int _parse_table_lines(struct dm_ do { /* Identify and terminate each line */ - if ((next_pos = strchr(_table, '\n'))) + if ((next_pos = strchr(pos, '\n'))) *next_pos++ = '\0'; if (!_parse_line(dmt, pos, "", ++line)) return_0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor