Re: [xml] Patch for bug in encoding.c when creating new encoding handlers in 2.2.1

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon Jul 31 2000 - 14:27:44 EDT


On Mon, Jul 31, 2000 at 10:00:31AM +0200, marcus@levonline.com wrote:
>
>
> The iconv_in and iconv_out fields is not reset to NULL when creating a new
> handler, which makes the free function trying to free up these handlers
> although it is not an ICONV handler. This produces a segfault, if these
> fields are not NULL already.
>
> The patch below fixes this problem.

  Thanks !
I applied the patch, it will be commited in the CVS bases soon !

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:24 EDT