Bug 1470896

Summary: segfault when reading vmap0
Product: [Fedora] Fedora Reporter: Thomas Sailer <fedora>
Component: ogdiAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: cristian.balint, dan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ogdi-3.2.0-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-02 16:49:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ogdi compile and vrf bugfix none

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.