#14 misc fixes for mixmaster-20020802 CVS

closed-accepted
nobody
None
5
2002-08-03
2002-08-03
Sami Farin
No

Included correct header files.

Src/main.c had incorrect param to buf_appendf.

Added buf_write_sync() (used by Src/rem.c:mix_pool()).
Should a mixmaster machine crash, pool file can contain
any random data after reboot/journal recovery (at least
when using reiserfs).

Maybe not relevant, but strrchr should be used instead of
strchr when looking for domain part.

Src/pgpdata.c:pgp_elgdecrypt() passes uninitialized values
to BN_free if BN_CTX_new fails.

Src/pgpdata.c:pgp_elgencrypt() passes uninitialized value
to BN_free if the third mpi_get(key, i) fails.

Src/random.c does not check return value of read().

Src/rndseed.c does not check return value of read().

Discussion

  • Sami Farin
    Sami Farin
    2002-08-03

    mixmaster-20020802 fixes

     
    Attachments
    • status: open --> closed-accepted