Registering the mode_flags field breaks other fields #8
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
marie/mariebuild#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Registering the
mode_flagsinmb_execute.c#mb_exec_compilecauses the value of thefilefield and potentially some other fields to break.Fixed with commit e699e98
This bug is caused by reallocation done by the register functions. Any pointer that is stored for quick access to a member of a mb_file struct needs to be reassigned (for example using the Navigation Functions of mb_parse.h) because the reallocation breaks the old pointers.