From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by sourceware.org (Postfix) with ESMTPS id 0C7753858D1E for ; Tue, 14 Feb 2023 19:20:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0C7753858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-16cc1e43244so16073422fac.12 for ; Tue, 14 Feb 2023 11:20:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fpyoiMYeFDFpvy3NxQFn3/BTZodbZ7AzxOY5SP4yXZk=; b=C9tv7w/sZyfrE4SeNOs8yJL/yae0UDyQFbvaKKzLM2mGTU6leVJmz6zAfHaAPBgUoG 83fqMI0PASD/fSHSIhfJZbo7NfoSMGBP5RBJKjAd68485tNDapWt+b9XUE6pz9CeriCG SmSG9EKJ0wMu6ertFwkYuB3kO/G1vPfyoPoljQ86FJnR90Dw9WQIkR00r+IVPAwh0z15 vdEw7exuAIrVksGn28Tt1tK/sIBjVMp7kJDzJ1Z3JVT3gOmPQgc/STOZ2AV5sjcPFKDa Vqyu7g5QtnLWxlHph8dopSSS58yrabM8QHkhsXJ/nyxBiaCLat93h5OL346qirj6vzt5 RuZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fpyoiMYeFDFpvy3NxQFn3/BTZodbZ7AzxOY5SP4yXZk=; b=HvWtE/f2QrrYnbF9eM1kU1KYGyL/kVgRBFNnhub6uCZu6SBQCURFBx1ACzonYiR7pf YElZxwDZ8/a/ZGtZvChLNHLvzMh5dP2dEu+EVkhNQYoy2JAM4lPiUdjFkCaVIzLmRemZ VwhbILh5JBkpe8Yixkt/PxHpKjaeKMpCjweYNThEh/H1WcxblZP3eXPGyQ9p2NJvf8Nn B3oVP+V8r2mIrGN051Yd9635CkfL7vNRbl63KnfP21eNhoyw+oyuBAacVFYvoXHjF1pp RjY+0F/b+6tYEKTPo/JFtCX0jg79I1hev+mK7hNcE7HTMcZaN9LLbtFaFZyH8qj++EV6 RuUQ== X-Gm-Message-State: AO0yUKU9YYdlx+nBBD52qrhbrlA9oIfCIqu/DybH1JdIlyrP9Ym56m3t txnn1mOcg6+ZM7zryhCU6x5PKnL8hBMt+bM+ X-Google-Smtp-Source: AK7set/qGTyr87Bu3NZsj04EfCVdNAFTzjw6vUnENp7Q/Buj7xUAcNCZYIq6+5GShjBOOAL7iPTJGA== X-Received: by 2002:a05:6870:d1c2:b0:16d:ddd8:a727 with SMTP id b2-20020a056870d1c200b0016dddd8a727mr2510699oac.10.1676402437207; Tue, 14 Feb 2023 11:20:37 -0800 (PST) Received: from [2600:1700:47c:3300:4aa4:72ff:fee9:5f8e] ([2600:1700:47c:3300:4aa4:72ff:fee9:5f8e]) by smtp.gmail.com with ESMTPSA id b13-20020aca220d000000b0037d743b5cb7sm4319105oic.17.2023.02.14.11.20.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Feb 2023 11:20:36 -0800 (PST) Date: Tue, 14 Feb 2023 19:20:34 +0000 (GMT) From: "Maciej W. Rozycki" To: Simon Marchi cc: gdb-patches@sourceware.org, Andrew Burgess , Tom Tromey , Richard Bunt Subject: Re: [PATCH v4 6/6] GDB: Introduce limited array lengths while printing values In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 13 Feb 2023, Simon Marchi wrote: > I see: > > print -elements 2 -- Large_3d_Array > ================================================================= > ==25757==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60d000028ed4 at pc 0x7f3ee9c5efd6 bp 0x7ffe215215b0 sp 0x7ffe21520d58 > READ of size 64 at 0x60d000028ed4 thread T0 Thanks for the report and sorry about the breakage. It did not show up in regular testing. I cannot look into it this week, but I will the next. Maciej