Re: Debian Bug#308296: mc segfaults on charset encoding change



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



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