for instance when it is damaged in a way that loading it overwrites a wrong memory area.
Which should never happen. o.O A loader has to verify the data or abort if suspicious, instead of pushing it into memory without control.
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development