Undefined behaviour causing problems on AVR32

Torbjorn Granlund tg at gmplib.org
Tue Apr 14 23:18:43 CEST 2009

Bradley Smith <bradsmith at debian.org> writes:

  On Tue, 14 Apr 2009 09:38:33 +0200
  Torbjorn Granlund <tg at gmplib.org> wrote:
  > Unfortunately, vsscanf seems to be missing from some systems GMP tries
  > to support.
  Ugh. Hmm, back to my original patch then, why does adding a 4 argument to
  the call with 3 args causes crashes when it's pointing to fscanf? I can't
  immediately see why that should be the case.
Me neither, and now I cannot reproduce the crash.

I put the first proposed code in GMP 4.3.0, plus the NULL pad paramater.


More information about the gmp-bugs mailing list