mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-08 17:59:34 +00:00
Resolve #193
This commit is contained in:
parent
bc4c94ca6c
commit
ceee60e1b5
@ -673,6 +673,9 @@ Section& Binary::add_section<false>(const Section& section) {
|
||||
new_section->offset(last_offset);
|
||||
new_section->size(section.size());
|
||||
|
||||
// Copy original content in the data handler
|
||||
new_section->content(section.content());
|
||||
|
||||
this->header().numberof_sections(this->header().numberof_sections() + 1);
|
||||
|
||||
Header& header = this->header();
|
||||
|
Loading…
x
Reference in New Issue
Block a user