Debian Bug#308296: mc segfaults on charset encoding change

Roland Illig roland.illig at gmx.de
Mon May 9 17:07:13 UTC 2005


Stefano Melchior wrote:
> -    count = iconv (cd, &ibuf, &ibuflen, (char **)&obuf, &obuflen);
> +    obufptr = obuf;
> +    count = iconv (cd, &ibuf, &ibuflen, (char **)&obufptr, &obuflen);

This code has never been in the CVS archive of the Midnight Commander. 
(At least not the (char **) cast.)

It has been correct since CVS revision 1.1 of that file.

Please check where you got that code from.

Roland



More information about the mc-devel mailing list