MantisBT - ParaView
View Issue Details
0013558ParaView(No Category)public2012-10-24 11:092013-01-30 10:41
Sven Buijssen 
 
normalminorhave not tried
closedfixed 
 
3.98.1 
TBD
crash
0013558: [git/master] VisItBridge GMVReader + comment line length > 99: null pointer dereference in gmvread.c
Download a nightly build ParaViewSuperbuild that includes VisItBridge with GMV support, e.g. the Windows 64-bit build as of 2012-10-23: http://open.cdash.org/viewFiles.php?buildid=2624353 [^]

Try loading attached "foo.gmv" by means of the VisItBridge GMVReader.
=> ParaView segfaults.

Suggested patch attached.
No tags attached.
? foo.gmv (400) 2012-10-24 11:10
https://www.vtk.org/Bug/file/9311/foo.gmv
patch 0001-BUG-13558.-Fixed-segfault-in-gmvread.c-for-comment-l.patch (2,231) 2012-10-24 11:11
https://www.vtk.org/Bug/file/9312/0001-BUG-13558.-Fixed-segfault-in-gmvread.c-for-comment-l.patch
Issue History
2012-10-24 11:09Sven BuijssenNew Issue
2012-10-24 11:10Sven BuijssenFile Added: foo.gmv
2012-10-24 11:11Sven BuijssenFile Added: 0001-BUG-13558.-Fixed-segfault-in-gmvread.c-for-comment-l.patch
2012-11-30 13:55Sven BuijssenNote Added: 0029818
2012-11-30 13:55Sven BuijssenStatusbacklog => closed
2012-11-30 13:55Sven BuijssenResolutionopen => fixed
2012-11-30 13:55Sven BuijssenFixed in Version => git-master
2013-01-30 10:41Utkarsh AyachitFixed in Versiongit-master => 3.98.1

Notes
(0029818)
Sven Buijssen   
2012-11-30 13:55   
commit eebf3427396ea3195b1a34f47630d052d193fc7b
Author: Sven Buijssen <sven.buijssen@tu-dortmund.de>
Date: Wed Oct 24 16:21:45 2012 +0200

    BUG 0013558. Fixed segfault in gmvread.c for comment lines exceeding 99 chars
    
        Do not rely on fscanf() + a fixed length character array any more when
        parsing comments. Arbitrary comment line length supported now, as was the
        case with LANL's GMV program itself.