[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mtools] [PATCH] Fix for mtype outputting garbage

From: Panagiotis Issaris
Subject: [mtools] [PATCH] Fix for mtype outputting garbage
Date: Fri, 24 Oct 2003 15:37:20 +0200
User-agent: Mutt/


It turned out that the problem was caused by the lack of initialisation
of a SimpleFile_t variable in plain_io.c.

The SimpleFileOpen function allocated memory but did not clear it before
using it. Some fields were initialised, but the swap field sometimes did
not get initialiased.

Patch attached (diff -ur).

With friendly regards,
Panagiotis Issaris
e-mail: address@hidden
OpenPGP key:
fingerprint: 6571 13A3 33D9 3726 F728  AA98 F643 B12E ECF3 E029
IM: address@hidden, icq(12764288), address@hidden

Attachment: 20031024_1525-pi-mtools_3.9.9-initialisation_problem.diff
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]