acaudwell/Gource

reported use after free

wtismyza opened this issue · 1 comments

src/gource_settings.cpp:212: error: Use After Delete
call to GourceSettings::setGourceDefaults eventually accesses memory that was invalidated by delete on line 505 indirectly during the call to GourceSettings::setGourceDefaults.
210. shutdown = false;
211.
212. setGourceDefaults();
^
213.
214. default_section_name = "gource";

I had a look, it's not obvious what the use after delete is here.