From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32]) by hurricane.the-brannons.com (Postfix) with ESMTP id 07B8678487 for ; Sat, 15 Feb 2014 00:24:40 -0800 (PST) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta03.westchester.pa.mail.comcast.net with comcast id SYPv1n0011ZXKqc53YPvtV; Sat, 15 Feb 2014 08:23:55 +0000 Received: from eklhad ([107.5.36.150]) by omta21.westchester.pa.mail.comcast.net with comcast id SYPu1n00J3EMmQj3hYPvu0; Sat, 15 Feb 2014 08:23:55 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Sat, 15 Feb 2014 03:23:57 -0500 Message-ID: <20140115032357.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1392452635; bh=c1aCOOd9R9epMg+QUYiTI1SafarfOR/4KlBDVOwksG0=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=WV2mHD1qaIMmX0Fx63HHlNT2K62ibF8SSGAhau/sH2M1SPB5C3NUnEa19xad57dml 69SDQfdahGkR+gyGAepyimMPBWBfYNcDAql1nQvd9Z8kHjU0yV3/ScRhecLbPBvKwv hb8PJnppZMXRGEtUf/BNvYm9j9XVwMCqpJW6eIPG4KLg/6qBaHsrZXsEVhlS/kX0mm vpDyT1L9hz1z2dvd2mW5dPXQZ/dlA2hC4iZuZYzsx05O9K4m0zLaeg86EyyAgAikNb mtTmUVfzTSuHdxZLufMTGSe6uoWjh3GaIy39k6YrL5xS1W/6FLbJE51JSenYqS7QC6 pxO7sIB/00qAA== Subject: [Edbrowse-dev] %zu X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 08:24:41 -0000 I'd like to use size_t in more places, where it makes sense to do so, and do some more checking for integer overflow, index overflow, etc, as these are things that can screw things up or even corrupt a file. My first question is whether %zu is standard wherever we might reasonably expect to port edbrowse. If yes then I will make the change in messages.c line 613 through 617, and start using it in other places too, like the size of files being read and written, to accommodate large files, etc. Karl Dahlke