From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21941 Path: main.gmane.org!not-for-mail From: davidk@lysator.liu.se (David Kågedal) Newsgroups: gmane.emacs.gnus.general Subject: Re: I wanna write an RFC Date: 17 Mar 1999 13:18:50 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87g175q4e5.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035159952 25536 80.91.224.250 (21 Oct 2002 00:25:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:25:52 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id HAA29945 for ; Wed, 17 Mar 1999 07:20:43 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id GAB08769; Wed, 17 Mar 1999 06:19:59 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 Mar 1999 06:19:56 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id GAA09286 for ; Wed, 17 Mar 1999 06:19:47 -0600 (CST) Original-Received: from samantha.lysator.liu.se (root@samantha.lysator.liu.se [130.236.254.202]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id HAA29934 for ; Wed, 17 Mar 1999 07:19:37 -0500 (EST) Original-Received: from sanna.lysator.liu.se (davidk@sanna.lysator.liu.se [130.236.254.206]) by samantha.lysator.liu.se (8.8.7/8.8.7) with ESMTP id NAA21815; Wed, 17 Mar 1999 13:18:59 +0100 (MET) Original-Received: (from davidk@localhost) by sanna.lysator.liu.se (8.8.8/8.8.7) id NAA23175; Wed, 17 Mar 1999 13:18:52 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: David Hedbor's message of "16 Mar 1999 14:42:21 -0800" Original-Lines: 27 User-Agent: Gnus/5.070066 (Pterodactyl Gnus v0.66) Emacs/20.3 Original-Content-Type: text/plain; charset=iso-8859-1 Original-Content-Transfer-Encoding: 8bit Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21941 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21941 David Hedbor writes: > Hrvoje Niksic writes: > > > David Hedbor writes: > > > > > Also all implementations of x-face are buggy. > > > > I don't understand this. All the implementations I know of are using > > the "uncompface" code, either through the external program, or through > > the library. Is that code buggy, or do you claim that the > > specification is buggy? > > That code doesn't follow the specification. I don't know exactly what > the error in that code is, but I can find out if anyone is interested. As I understand Marcus (out mutual friend who investigated this), the code uses arrays for some sort of prediction, but it indexes them at least one index off, resulting in both that the predictions don't work as expected, and that it reads memory outside the table. This out-of-bounds memory happens to be in another structure in the compface code, but since everybody uses the same code, it always works the same way. However, if you want to write another implementation you'll have to reimplement all the bugs. -- David Kågedal http://www.lysator.liu.se/~davidk/