MantisBT - VTK
View Issue Details
0010788VTK(No Category)public2010-06-02 14:172013-04-05 20:20
Pat Marion 
Pat Marion 
normalcrashalways
closedfixed 
 
 
0010788: vtkMySQLQuery::Execute() fails to detect error in certain cases
As explained at http://dev.mysql.com/doc/refman/5.0/en/null-mysql-store-result.html [^] it is possible for mysql_store_result() to return null when it should not. In this case, vtkMySQLQuery::Execute does not notice the error has occured and sets this->Active to true. This leads to a crash on the next call to vtkMySQLQuery::NextRow() The actual crash is in mysql_fetch_row().

A fix is attached to this bug.
No tags attached.
diff bugfix_vtkMySQLQuery.diff (1,485) 2010-06-02 14:17
https://www.vtk.org/Bug/file/8162/bugfix_vtkMySQLQuery.diff
Issue History
2010-06-02 14:17Pat MarionNew Issue
2010-06-02 14:17Pat MarionFile Added: bugfix_vtkMySQLQuery.diff
2010-06-29 16:54Pat MarionNote Added: 0021191
2010-06-29 16:54Pat MarionStatusbacklog => @80@
2010-06-29 16:54Pat MarionResolutionopen => fixed
2010-06-29 16:54Pat MarionAssigned To => Pat Marion
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-01-13 17:00guestNote Added: 0024656
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 20:20Berk GeveciStatuscustomer review => closed

Notes
(0021191)
Pat Marion   
2010-06-29 16:54   
Patch has been applied.
(0024656)
guest   
2011-01-13 17:00   
Fix committed to master branch.