Segmentation fault with mpz_inp_raw on gcc45

Torbjörn Granlund tg at gmplib.org
Wed Sep 15 13:36:32 UTC 2021


Paul Zimmermann <Paul.Zimmermann at inria.fr> writes:

  $ cat test_dummy2.save
  -e

  # this is a comment line and should be ignored

You do understand that mpz_inp_raw expects a binary file with a size
field followed by that many byytes of data, don't you?

The file contents above make no sense.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list