Bug 1470896 - segfault when reading vmap0
Summary: segfault when reading vmap0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ogdi
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-14 00:19 UTC by Thomas Sailer
Modified: 2017-08-02 16:49 UTC (History)
2 users (show)

Fixed In Version: ogdi-3.2.0-1.fc26
Clone Of:
Environment:
Last Closed: 2017-08-02 16:49:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
ogdi compile and vrf bugfix (935 bytes, patch)
2017-07-14 00:19 UTC, Thomas Sailer
no flags Details | Diff

Description Thomas Sailer 2017-07-14 00:19:31 UTC
Created attachment 1297992 [details]
ogdi compile and vrf bugfix

Description of problem:
when trying to read features from the vector map level 0 (vmap0) source, the program crashes within the ogdi vrf driver. Plus sprintf without format string fails the build

Version-Release number of selected component (if applicable):
3.2.0-0.28.beta2.fc26

How reproducible:
always


Additional info:
the attached patch fixes it for me

Comment 1 Dan Horák 2017-07-14 06:24:35 UTC
Hi Thomas, thanks for the patch, feel free to update the ogdi package, I took it when it was getting orphaned and removed and it affected my other package.

Comment 2 Dan Horák 2017-07-14 09:16:36 UTC
Oh, there seems to be an official 3.2.0 release since last year, we should update the Fedora package.

Comment 3 Dan Horák 2017-07-17 07:54:46 UTC
ABI diff between 3.2.0-beta2 and 3.2.0 final => it's safe to update

================ changes of 'libogdi.so.3.2'===============
  Functions changes summary: 0 Removed, 0 Changed, 3 Added functions
  Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

  3 Added functions:

    'function int ecs_SetErrorShouldStop(ecs_Result*, int, char*)'    {ecs_SetErrorShouldStop}
    'function ReportErrorType ecs_SetReportErrorFunction(ReportErrorType)'    {ecs_SetReportErrorFunction}
    'function int ecs_ShouldStopOnError()'    {ecs_ShouldStopOnError}

================ end of changes of 'libogdi.so.3.2'===============

Comment 4 Fedora Update System 2017-07-17 13:12:43 UTC
ogdi-3.2.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-32f2436617

Comment 5 Fedora Update System 2017-07-18 00:24:25 UTC
ogdi-3.2.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-32f2436617

Comment 6 Fedora Update System 2017-08-02 16:49:18 UTC
ogdi-3.2.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.