View Issue Details

IDProjectCategoryView StatusLast Update
0004815ardourbugspublic2020-04-19 20:16
Reporterahurst Assigned Tocth103  
PrioritynormalSeveritytrivialReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0-beta3 
Target Version3.0 
Summary0004815: Null pointer dereference
DescriptionMedium impact static analysis bug:

Possible dereference of a null pointer at gtk2_ardour/engine_dialog.cc:1071.
Additional Information1033 PathScanner scanner;
1034 vector<string *> *jack_servers;
...
*** Function "PathScanner::operator ()(std::string const &, bool (*)(std::string const &, void *), void *, bool, bool, long, bool)" may return null (it is checked 7 out of 8 times).
*** Assigning: "jack_servers" = null return value.
1067 jack_servers = scanner (path, jack_server_filter, 0, false, true);
1068
1069 vector<string *>::iterator iter;
1070
*** Dereferencing a pointer that might be null "jack_servers" when calling "begin()".
1071 for (iter = jack_servers->begin(); iter != jack_servers->end(); iter++) {
TagsNo tags attached.

Activities

cth103

2012-04-05 01:22

administrator   ~0013082

SVN 11793.

system

2020-04-19 20:16

developer   ~0023024

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2012-04-05 00:08 ahurst New Issue
2012-04-05 01:12 cth103 cost => 0.00
2012-04-05 01:12 cth103 Target Version => 3.0 beta4
2012-04-05 01:22 cth103 Note Added: 0013082
2012-04-05 01:22 cth103 Status new => resolved
2012-04-05 01:22 cth103 Resolution open => fixed
2012-04-05 01:22 cth103 Assigned To => cth103
2012-05-23 15:08 cth103 Target Version 3.0 beta4 => 3.0
2020-04-19 20:16 system Note Added: 0023024
2020-04-19 20:16 system Status resolved => closed