Message ID | 20220922163536.1096175-32-peter.maydell@linaro.org |
---|---|
State | Not Applicable |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp506078pvb; Thu, 22 Sep 2022 11:35:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4092hAuUp55/xPXIk/T3jG131+0gCQtWhLMvl+67p02e2YtG9MiuwIXQwTBJva/nI9RxaU X-Received: by 2002:a37:a9c6:0:b0:6cc:f925:132f with SMTP id s189-20020a37a9c6000000b006ccf925132fmr3204034qke.4.1663871731037; Thu, 22 Sep 2022 11:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663871731; cv=none; d=google.com; s=arc-20160816; b=WnU93QYINSlKXH1+3Z/PU+HyuXaBBErDuKjHD6xLce6ZnsBuoY3MmjYK7/GAsH7OQC TX7zTCJ7ZWhkjdnR33qqIxe8uBIOR5kq3wOC1NqnS2fQoCkmU/8UtYcspYB2zc9KhI4z DY8A0bZjIOXFIcu4hEYAsmuAr5oiCPzQD0bR+v8i3/6il1QzCJLH4DoFclIABffSYAYw j5APPoiC/5XbHXSOnlMS45m5pH6iM9YD+vNba+gWR+WManATGz5XyuQLwazv4FD7gj1U pZHrOwn72LNP/KJQ37HDXHuaYAADFjH7gZdaEeYe6g1ic/1Avy6hgW7WpOj25wIsyxde 0ILQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=l8BTHv6Rvs1T1FBsTL+iOTvROMJj6hLiW9QKgE0n3iY=; b=fRiejDLc+D7psEjDWPTahqqMgOC7L8wWiNdpHNpkrCvaB+q5Qc1g9V8+hbMG45ng91 kzV46A8jk3bIgkbDVW6i/8nIlnSgSKF8VTBR8LwwS6yPlgN/vEzIj/C/52wf/BDLW7VX XjQSv/LBUei/AtWm4bV3NbXkEo2lPbYCxzRiqFd4iTNzWSbPR92OMZ6OPJ0ouDo6HPzA xbPF/eV8UED4DWb6b2jybJ6f6DtO45MBlJSWvKhIEMDvvgkANcryzdNHklMahgX4QtUq LyfYZ55S29YJ7XG0Uh1pYYFe31c4BCygYOTEklI/Ys84S+A8ImOQEosaUjFwjNwZ5C/2 TlSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Xtay/0Az"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gg15-20020a056214252f00b004ad88bbf94csi915079qvb.583.2022.09.22.11.35.30 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Sep 2022 11:35:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Xtay/0Az"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1obR2o-0002Lq-1S for patch@linaro.org; Thu, 22 Sep 2022 14:35:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1obPBI-0002E1-FK for qemu-devel@nongnu.org; Thu, 22 Sep 2022 12:36:10 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:41883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1obPBA-0005SY-5K for qemu-devel@nongnu.org; Thu, 22 Sep 2022 12:36:07 -0400 Received: by mail-wr1-x433.google.com with SMTP id t14so16403378wrx.8 for <qemu-devel@nongnu.org>; Thu, 22 Sep 2022 09:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date; bh=l8BTHv6Rvs1T1FBsTL+iOTvROMJj6hLiW9QKgE0n3iY=; b=Xtay/0AzdvwMSS0PNMAgFX0sIiAtRArBM3KyVj+y55enF4CzRDUDCcwQIrdUMcgxgj 4766Wr65fSPA/crGFm7tQVNijhQeiuu3LITrbyDach33GL+S3VOAZ3Lz0h8WYmw6CpOQ JlaXuLGnlRFnH5TWuugESW3Pm7SbpzG2ddl4as9adpau0+zmet58f8WzgyWjz3A4CgKJ R7xVAhzunfc0zx0bYzjoPjxgEi//tAjuL8Jcwi/jgKHHtR91HgbkDA5If0+49SOIAAwv EOYHQe2XWB8N0f/AhvitHsoCmSPxXzkKCRykiHaa05M1naGt3xmavNmZPJpfLb0ex79e Um8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=l8BTHv6Rvs1T1FBsTL+iOTvROMJj6hLiW9QKgE0n3iY=; b=D+inlN+M1IeCLhu6VHPNbpMRfn7xx8zRrnnoLbP4pJ6f7n2rZUT3aBlMFYeb1J1pxt iK0YHCLWZ66t6nfuRSUEE++YtCgWvgy4CGxZH54j6tBICcKOPU2ubli3w0vb0w75oiNj ElZyCUN9lOR2PiSHOuETo0xBr5rXtnJP+EsssDSILNYPKjbEr38a6TEEXmPmM0SdsOBo 2Hf3VV9rCcWdSL3A8dxnmO+8MTHJ7DollDe8F6DuvdCB6TuveWjZ3b9kN1L8w3ZiDuCM 4X0WPCPMTwVFzN8+S0U1V2hubJl6koa/FkSgjZdlczaTLhznTdNws1C/jj3Cg2e98On6 PhSw== X-Gm-Message-State: ACrzQf0guIW0WRVlmcXO2Luzhs/QVilz4/IiXR6uGnaiwaQdKXlYDW4d ETM3lgGoDbGBSgvf5acpOFI3KXJdMOp4Kw== X-Received: by 2002:a5d:6c63:0:b0:22a:4247:1e7c with SMTP id r3-20020a5d6c63000000b0022a42471e7cmr2657868wrz.625.1663864558413; Thu, 22 Sep 2022 09:35:58 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003b3401f1e24sm6452599wmb.28.2022.09.22.09.35.57 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 09:35:58 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 31/39] ui/curses: Avoid dynamic stack allocation Date: Thu, 22 Sep 2022 17:35:28 +0100 Message-Id: <20220922163536.1096175-32-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220922163536.1096175-1-peter.maydell@linaro.org> References: <20220922163536.1096175-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/39] hw/net/can: fix Xilinx ZynqMP CAN RX FIFO logic
|
expand
|
diff --git a/ui/curses.c b/ui/curses.c index 861d63244c7..de962faa7cd 100644 --- a/ui/curses.c +++ b/ui/curses.c @@ -69,7 +69,7 @@ static void curses_update(DisplayChangeListener *dcl, int x, int y, int w, int h) { console_ch_t *line; - cchar_t curses_line[width]; + g_autofree cchar_t *curses_line = g_new(cchar_t, width); wchar_t wch[CCHARW_MAX]; attr_t attrs; short colors;