View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010788VTK(No Category)public2010-06-02 14:172013-04-05 20:20
ReporterPat Marion 
Assigned ToPat Marion 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010788: vtkMySQLQuery::Execute() fails to detect error in certain cases
DescriptionAs 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.
TagsNo tags attached.
Project
Type
Attached Filesdiff file icon bugfix_vtkMySQLQuery.diff [^] (1,485 bytes) 2010-06-02 14:17 [Show Content]

 Relationships

  Notes
(0021191)
Pat Marion (reporter)
2010-06-29 16:54

Patch has been applied.
(0024656)
guest (viewer)
2011-01-13 17:00

Fix committed to master branch.

 Issue History
Date Modified Username Field Change
2010-06-02 14:17 Pat Marion New Issue
2010-06-02 14:17 Pat Marion File Added: bugfix_vtkMySQLQuery.diff
2010-06-29 16:54 Pat Marion Note Added: 0021191
2010-06-29 16:54 Pat Marion Status backlog => @80@
2010-06-29 16:54 Pat Marion Resolution open => fixed
2010-06-29 16:54 Pat Marion Assigned To => Pat Marion
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-01-13 17:00 guest Note Added: 0024656
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 20:20 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team