From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.101.196 with SMTP id fi4cs131715vdb; Fri, 15 Apr 2011 10:13:55 -0700 (PDT) Received: by 10.229.29.9 with SMTP id o9mr1642111qcc.58.1302887635391; Fri, 15 Apr 2011 10:13:55 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id m20si5955637qck.161.2011.04.15.10.13.54; Fri, 15 Apr 2011 10:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 0D74618583B3; Fri, 15 Apr 2011 13:13:54 -0400 (EDT) Received: from masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id CA8AA18583B1 for ; Fri, 15 Apr 2011 13:11:34 -0400 (EDT) Received: from w by masanjin.net with local (Exim 4.71) (envelope-from ) id 1QAmdP-0002zL-Lu; Fri, 15 Apr 2011 17:16:43 +0000 From: William Morgan To: Gregor Hoffleit In-reply-to: <1302789095-sup-9782@sam.mediasupervision.de> References: <1298320404-sup-5972@masanjin.net> <1298744738-sup-631@whisper> <1298757625-sup-9756@masanjin.net> <1298762120-sup-1118@masanjin.net> <1299008245-sup-5110@whisper> <1299062215-sup-8517@sam.mediasupervision.de> <1299091467-sup-7084@masanjin.net> <1299172989-sup-8183@sam.mediasupervision.de> <1299179837-sup-4675@masanjin.net> <1302789095-sup-9782@sam.mediasupervision.de> Date: Fri, 15 Apr 2011 17:16:43 +0000 Message-Id: <1302887129-sup-7325@masanjin.net> User-Agent: Sup/git Cc: sup-devel Subject: Re: [sup-devel] sup-server revisited X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Reformatted excerpts from Gregor Hoffleit's message of 2011-04-15: > The source of this problem is in whistlepig's tokenizer. I'm hurt by an > overflow in posarray->next and posarray->size, which are defined as > uint16_t. I was able to fix my problem by defining these to uint32_t: Thanks! This is totally good. I will admit I got distracted by some other tasks and forgot to come back to this. Maybe that's a sign I should start using Github's vaunted issue tracker. What I don't understand is that the posarray stuff is all for token offsets, isn't it? So why would the number of lines actually matter? Large messages can overflow this but it should be in terms of tokens, not lines. -- William _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel