From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21716 invoked from network); 13 Jul 2021 12:04:53 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 13 Jul 2021 12:04:53 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id BE0C4358C3 for ; Tue, 13 Jul 2021 08:04:51 -0400 (EDT) (envelope-from bounce.mM58cd1dfaefcf10ef70868139.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id A490A2CB78FD; Tue, 13 Jul 2021 08:04:51 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:to:subject:in-reply-to:message-id :references:mime-version:content-type:from:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1626177891; bh=EPw8p4wKDPTOJGOJ 5xdi/N1I2U3hSRBiziHlO9rDYek=; b=LTo9uaSFr+zAYfWK6I3RTMUQaFCNDCuH rDwMqc326DOe1Ndr89aOHIaQGgyIiqekHxSFnAgVA2q/gp0OsJeFYRHdMQQ3NXkZ fMHwbxGCD4c+7D7LzMMljfbvBBxWjPVpxrFlCAU5VfMJJvNDZCMvYfMZDUI7WBGj MIGSm/w9/NE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1626177891; b=HA4cP7C5uF4sNAbR3QwFomCqXfCeYTngBkQslK4W8qxBwLdS5y InjwhUGeuhIK+K1DHJXtyWXqm2jvkE0SHlJWhsrpULCg+nSgBlYq9TtZgKWhTSmB a+E60Ro1GaPPhnMIu3SQe3Gqo5wEsVmNVSl50kJUEotbr0VGcqGJnHWQs= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:to :subject:in-reply-to:message-id:references:mime-version :content-type:from:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=EPw8p4wKDPTOJGOJ5xdi/N1I2U3hSRBiziHlO9rDYek=; b=Ir233RCWf22j Hj1AVxYIpW9DgdXdEq53EcxyEQKRI+177WzV2+h0hfx7NwTcJWi1/9bO2zL+f4uk 6y16sAuyoI2KnpphC/rLqvMn12uWElnudm1rgLba8GeeX+ek32NVwdAb+6Xxa7co c/NVJ4FVvEM8+J6z5svz4bkSXELuebs= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 728A32CB74EC for <9fans@9fans.net>; Tue, 13 Jul 2021 08:04:40 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 7A5DA692ACB; Tue, 13 Jul 2021 08:04:40 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1626177880; b=pF0aP0lGjUoAUOPSbS8xcHdEPyVCe8x9BtqnSs/eC47HghW/66 6PMcbN1YeJV/wot17Z+jc5d4N+FQz3VTWz6gyVP4lJ557nlwokMJI/35wzMRfrI6 0l54QFIef7C6FXlaC2OGzvxVZUuVuEYs7bcGIdQI6KsYr4H1WjdE21Y3lWVUTfy4 C09J2nCOyNBH5ynwAEeDpjBcoV9ZA3ZG3NvaNRnfZqMpqkREVkEfsZw66xRQoQ9x QLsfvpT1+80eNx0rYLzbPeklqeS4Fnj43fyt+kcAECdb8jkgdS39CSqwKMg+U20i 9Wfi7kQwnXHlZZrtCVF6xTIbuMnVHyAhJLSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1626177880; bh=LOuCAEAPVOJNsBvOoPDZB2i3TdrUBs5M6QATu5xNKu8=; b=lavTayKdpsD/ u7EL/dmjXdJIvOSabQuCe527ehrEQyOjtpKAiPRyo+gEX8f5PLcVTZjPIgTKIxha ACMQ3sGRrIg9kMeMfHPaiz+KckkyRx22K5B+vWvv8jHxd/I01UCGLA/BlklAKNT+ M0qWxmAJ683ErJg5fyc4JbqSHytpar7FFIPYWaBDtLtd5W0S0rA+9N9kn3eOUc7G DYh+mG7cGsQY1RKpCZh0wKi287fsPSh4VBSDO5EGXoBgfntUybgKrDiS9o/rvm5i Nh+4jHC29u3HAJWvm0ArCdibzTB0m//ViiN0u29wSE+FegoA2RVx3Wc3EGdG3CHI 7qhUgN8xGg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=none (No BIMI records found); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehgddvjeculddtuddrgeduhedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghn shhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtne cunecujfgurhepfffhvffujgfkfhggtgesthdtredttddtvdenucfhrhhomheprggurhcu oegrughrsefufffhrdfqtffiqeenucggtffrrghtthgvrhhnpeekhedtveffheevhfdtge fhhefgveelvedujeetjedtheduvdefvdekgedtfffhffenucfkphepvddthedrudeiiedr leegrddvgedpvddthedrudeiiedrleegrdduieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepihhnvghtpedvtdehrdduieeirdelgedrvdegpdhhvghlohepmhigrdhs ughfrdhorhhgpdhmrghilhhfrhhomhepoegrughrsefufffhrdfqtffiqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 13 Jul 2021 08:04:39 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 16DC4cx4027533 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Tue, 13 Jul 2021 12:04:39 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 16DC4cdB020590 for <9fans@9fans.net>; Tue, 13 Jul 2021 12:04:38 GMT Date: Tue, 13 Jul 2021 12:04:38 +0000 (UTC) To: 9fans <9fans@9fans.net> Subject: Re: [9fans] pngread: alloc chunk's length In-Reply-To: Message-ID: <913341d-d95-958d-27cd-7fa96c93a6eb@SDF.ORG> References: <28C2E353AF3CC6A064D8A1A403C1E1C2@eigenstate.org> <1fbcd31c-c6f-7991-951-3f1daae8d895@SDF.ORG> <6c633170-ba92-52f4-5244-28fa6c7302b@SDF.ORG> <8c4d60f0-7ed1-aa10-239f-6267c75cd33a@SDF.ORG> <7c354c3b-899-26d-01e-e69abde0b322@SDF.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 83984794-e3d2-11eb-9b1f-c497eae8c4ba Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGE3MTRlZDE0YzUwNzY3YS1NNThjZDFkZmFlZmNmMTBlZjcwODY4?= =?UTF-8?B?MTM5Pg==?= From: "adr via 9fans" <9fans@9fans.net> List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M58cd1dfaefcf10ef70868139:1:ja1qpsq6ccUVnmpaCl4-nEYr5yQtrD295xjBUC1K5pg On Tue, 13 Jul 2021, hiro wrote: > you seem to propose that if the png tells us to then we should > allocate 2GB per chunk, just bec. the spec allows it > > even if the spec doesn't tell us a limit, we might want to have a limit. No. The system should constrain the allocation. If you have enough memory you should be allowed to open a _correct_ png file. Of course we could (I wont) discuss how to change the implementation to allow systems without enough ram to process files with large chunks, but I doubt it would be a problem in real life. Regards, adr. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4a714ed14c50767a-M58cd1= dfaefcf10ef70868139 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription