From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id 1E06F27FA5 for ; Wed, 22 May 2024 07:08:45 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 7C77043AFE; Wed, 22 May 2024 15:08:41 +1000 (AEST) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by minnie.tuhs.org (Postfix) with ESMTPS id 552CB43AFD for ; Wed, 22 May 2024 15:08:34 +1000 (AEST) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1f32b1b5429so156805ad.2 for ; Tue, 21 May 2024 22:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716354513; x=1716959313; darn=tuhs.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=67gZOm0Knf85peQKi9go9zm8ij6a5WhT81hWsvCDnms=; b=TrPNzWiI102xOlAmKjLRnUdXFJ3Xkln7dfcaVn388HOoThj44lHcQ10MqEdZ5Y4pwh LS0JD4Fa/aYmzzOEnFq9uCC3K3EgWfCh4MsISreg7aSLhywXIxWcKU3KMTEH/Ar3EWoL 0b+hWTPpnGu4+HJ7Z+d/cubNkn26rKetxx6bZL6jGeQSXBc4mlnPtoTX7reoCOwE2h3+ sBKjUbfi55m31NtbkUXi85y1vDR7ieRu+iCYvnVlLfEddKYcuVijRSEPFX+U0mRq0xnc RjOYf+DqSUMWdVSIhWlX9nRvKDAqkQ/ouMhdbDVAs9S5o2KGr4aFsgPJf7o3RV4/ZJWg TqdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716354513; x=1716959313; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=67gZOm0Knf85peQKi9go9zm8ij6a5WhT81hWsvCDnms=; b=aMKqbK0W6ldw65oLR5oEKt9IQSA8pU7oLEmHPepELyasz7kcv9PM3Hw58BUKHL2t0F YJuy/YnO82KuN/Bl3WwbySMY7qeGH/3FSwpLGRRs9p8tTomY5Cq/6lM27pRKAommxNzi 33Kwsz/T31SWKCVjrKYZJQgQj6iWnZTaywTHCMq3V45KZMT/3xfj+vyW9OcnhK8lQ2IY JSYfkfKA8BdoPTJcYVU0OSGskyn8+mwaQoI1W8rttLnLHVxS3i7UvggUa8/0Goe0d2D8 qz7dXqqC3egxgf5umjuIqMc+d60TseiwJwQFmtv9kxU9tWdqh0zZRZGzfYTVLpsvtluZ 6xHw== X-Gm-Message-State: AOJu0Yy2NcOFF0wKYwMdJCSAkEJVtjix0xiTY4Kbed39uBhfHWbqe7xU zFVZLvYlR+2eCQt/r3EBJIiDUx3nOHt2Vy9swO2qLo0Z/5GdUBpazq4M8g== X-Google-Smtp-Source: AGHT+IEoSA74kHJKCMsq0dpLAp/8VzEGU20nYozCq//qNi+XmARbgf9zlrGik+eH5NK2l2k9QNbGJg== X-Received: by 2002:a17:902:f151:b0:1f2:fc67:5c06 with SMTP id d9443c01a7336-1f31c97d03bmr10228555ad.22.1716354513349; Tue, 21 May 2024 22:08:33 -0700 (PDT) Received: from localhost ([120.21.166.212]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d1a04sm236059395ad.50.2024.05.21.22.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 22:08:32 -0700 (PDT) From: Alexis To: Dave Horsfall In-Reply-To: (Dave Horsfall's message of "Wed, 22 May 2024 13:26:36 +1000 (EST)") References: <51CC9A0D-122C-4A3D-8BAF-C249489FB817@serissa.com> Date: Wed, 22 May 2024 15:08:29 +1000 Message-ID: <875xv6bfhu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 6RC4RSXYCTOHI2KEICYBC4NETMZM5LKQ X-Message-ID-Hash: 6RC4RSXYCTOHI2KEICYBC4NETMZM5LKQ X-MailFrom: flexibeast@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Unix Heritage Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: A fuzzy awk. List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Dave Horsfall writes: > On Tue, 21 May 2024, Paul Winalski wrote: > >> To take an example that really happened, a fuzz test consisting=20 >> of 100=20 >> nested parentheses caused an overflow in a parser table (it=20 >> could only=20 >> handle 50 nested parens).=C2=A0 Is that worth fixing? > > Well, they could be a rabid LISP programmer... Just did a quick check of some of the ELisp packages on my system: * For my own packages, the maximum was 10 closing parentheses. * For the packages in my elpa/ directory, the maximum was 26 in=20 ducpel-glyphs.el, where they were part of a glyph, rather than=20 delimiting code. The next highest value was 16, in org.el and=20 magit-sequence.el. i would suggest that any Lisp with more than a couple of dozen=20 closing parentheses is in dire need of refactoring. Although of=20 course someone who's rabid is probably not in the appropriate=20 mental state for that. :-) Alexis.