View Issue Details

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

Dereferencing a pointer that might be null at libs/ardour/session.cc:4357.

Seems that it can happen if the auto loop is not set?
Additional Information*** Function "ARDOUR::Locations::auto_loop_location() const" may return null (it is checked 17 out of 20 times).
*** Assigning: "l" = null return value from "ARDOUR::Locations::auto_loop_location() const".
4365 Location* l = _locations->auto_loop_location ();
4366
*** Dereferencing a pointer that might be null "l" when calling "ARDOUR::Location::start() const".
4367 if (l->start() == old) {
4368 l->set_start (s->start(), true);
4369 }
4370}
4371
TagsNo tags attached.

Activities

cth103

2012-04-07 10:05

administrator   ~0013093

SVN 11814.

system

2020-04-19 20:16

developer   ~0023022

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-04 23:50 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-07 10:05 cth103 Note Added: 0013093
2012-04-07 10:05 cth103 Status new => resolved
2012-04-07 10:05 cth103 Resolution open => fixed
2012-04-07 10:05 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: 0023022
2020-04-19 20:16 system Status resolved => closed