Extra zero byte converting mpz_t to a string

tg at gmplib.org tg at gmplib.org
Mon Apr 20 07:16:20 UTC 2015

Vincent Lefevre <vincent at vinc17.net> writes:

  Here the result is a string, and a string stops at the *first* null
  byte. If GMP writes a second null byte, then that's a bug.

Not sure what your speculation is here.

If you think you've found a bug, then please report it.
Speculating about possible bugs isn't going to help.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list