Skip to content
  • Alessandro Di Federico's avatar
    4557c914
    `FilePortion`: force members initialization · 4557c914
    Alessandro Di Federico authored
    This commit fixes a bug triggered by the fact that the constructor of
    the `FilePortion` class was not initializing fields featuring a "native"
    type (which are therefore not automatically zero-initialized).
    
    In particular, this bug was triggered when dealing with a dynamic binary
    lacking the sections for dynamic relocations.
    4557c914
    `FilePortion`: force members initialization
    Alessandro Di Federico authored
    This commit fixes a bug triggered by the fact that the constructor of
    the `FilePortion` class was not initializing fields featuring a "native"
    type (which are therefore not automatically zero-initialized).
    
    In particular, this bug was triggered when dealing with a dynamic binary
    lacking the sections for dynamic relocations.
Loading