This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: buffer overflow with ar


Hi Ralf,

When trying to use a cross-ar from vanilla binutils-2.16 or
binutils-2.16.1 on FC4, I am observing this


# arm-rtems4.7-ar  rc ./libgcc.a libgcc/./_udivsi3.o
*** buffer overflow detected ***: arm-rtems4.7-ar terminated

/lib/libc.so.6(__sprintf_chk+0x30)[0x1eee24]
arm-rtems4.7-ar[0x804f5f6]


I there a fix/work-around?

Not yet.


Is it a binutils or FC problem?

binutils.


I hardly can believe nobody has been facing this issue before, but
haven't tried to investigate in depth, yet.

Can you run this under a debugger and find out which call to sprintf is overflowing, and what the parameters are ?


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]