Re: [xml] Possible bug found

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Sat Sep 09 2000 - 04:19:57 EDT


On Fri, Sep 08, 2000 at 04:06:25PM -0700, Shane Adams wrote:
>
> While running my code through Insure, which is a
> memory debugging utility, I happened upon what appears
> to be a bug:
>
>
> entities.c : 916
>
> >> buf[14] = 0;
>
> Writing array out of range: buf [14]
>
> If you look at line 857 of entities.c you will see buf
> declared as a static array of
>
> char buf[10];
>
> I believe this is a problem. The version of libxml I
> am using is: libxml2-2.0.0

  I think this was pointed out and removed a long time ago,
it not in the current code base anymore. Try to upgrade to 2.2.2
there have been a lot of bug fixes.

  thanks for the report,

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@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 09 2000 - 04:45:59 EDT