#385 binutils putting random junk in .exe

closed-fixed
binutils (105)
2003-09-12
2003-07-24
mrnobo1024
No

Binutils 2.13.90 is putting random memory contents in
unused areas of .exes, instead of filling them with null
bytes like 2.13 did.

Discussion

  • Danny Smith

    Danny Smith - 2003-07-24

    Logged In: YES
    user_id=11494

    What version of windows?
    Danny

     
  • Danny Smith

    Danny Smith - 2003-07-24

    Logged In: YES
    user_id=11494

    Nevermind, I found the problem in bfd/bfdio.c
    I'll fix in next realease.

    + #ifdef __MING32W__
    ^^^^

    + /*
    + * Workaround for limitations on win9x where a file contents
    are
    + * not zero'd out if you seek past the end and then write.
    + */
    + #ifndef __USE_MINGW_FSEEK
    + #define __USE_MINGW_FSEEK 1
    + #include <stdio.h>
    + #endif
    + #endif
    +

     
  • Danny Smith

    Danny Smith - 2003-09-12
    • status: open --> closed
     
  • Danny Smith

    Danny Smith - 2003-09-12
    • status: closed --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2003-09-12

    Logged In: YES
    user_id=11494

    Fixed in latest release candidate of binutils (binutils-2.14.90-
    20030807-1)
    Danny