mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
src/gui/imageinfo.cpp fix heap-use-after-free
Origin commit data
------------------
Branch: ni/coolstream
Commit: 93e302211e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-26 (Sat, 26 Dec 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -249,8 +249,8 @@ void CImageInfo::InitInfoData()
|
||||
#ifdef IMAGE_VERSION
|
||||
version_string = IMAGE_VERSION;
|
||||
#else
|
||||
const char * _version = config.getString("version", "U000000000000000").c_str();
|
||||
static CFlashVersionInfo versionInfo(_version);
|
||||
std::string _version = config.getString("version", "U000000000000000").c_str();
|
||||
static CFlashVersionInfo versionInfo(_version.c_str());
|
||||
|
||||
version_string = versionInfo.getReleaseCycle();
|
||||
version_string += " ";
|
||||
|
Reference in New Issue
Block a user