Skip to content

BUG: missing initialization of m_FileName member

Manuel Grizonnet requested to merge bug_missing_member_initialization into develop

In otbWrapperOutputImageParameter, member m_FileName is not initialized in the constructor.

As HasValue() method call GetFileName, it leads to a segmentation fault if the filename is not set

m_FileName is now initialized to "" in the constructor.

Hope it will not break app engine logic in some corner cases (in memory chaining...)

Merge request reports

Loading