Permalink
Browse files

Fixes a crash reported by Kim Gwan Yeong.

  • Loading branch information...
JusticeRage committed Jun 19, 2017
1 parent 0e94805 commit dc646c1923b5aaabac3dfb9fb29389526e787f27
Showing with 1 addition and 1 deletion.
  1. +1 −1 manape/section.cpp
@@ -36,7 +36,7 @@ Section::Section(const image_section_header& header,
_file_handle(handle),
_file_size(file_size)
{
_name = std::string((char*) header.Name);
_name = std::string((char*) header.Name, 8);
pString escaped = io::escape(_name);
if (escaped != nullptr) {
_name = *escaped;

0 comments on commit dc646c1

Please sign in to comment.