From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id 75111385357F for ; Tue, 30 Aug 2022 13:36:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 75111385357F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-11eb8b133fbso12295931fac.0 for ; Tue, 30 Aug 2022 06:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:references:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc; bh=XA5zrYJepuzFPUlZe3t7pzGgAwbi65N6jKkdCaEJrR0=; b=oIZn20eICu+S3I27rE6I2yClR0JnhT8sJxjPtR/Vqq0J1f1jTrEvxfK0CO2j52FUNQ ClcNYzLqbDSnRPbwez76YL+NRAvUpujJijbR13fy9Vprp11wdJlqZCaEfhM3PwyNeof0 zUfA4/756Xe7LwrzrbQxGfKg1xKdmX00MkUzLGfUT2UYwK2ChCwAYPJj1oCNZRex2BeP wH6ZhDhxDu0OeYWB6ag3x12JPCOWx/XSyUweiNJ4CBJg/5gjFx4KKj4fGIRpUvKd4YLq b5ciEuz3CdNxL9fsB6/YIegQ9tTDI4Wpex/rjU7q4KJuTOKUOahpDsGDXv+nM5a8j/yv V15A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:references:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc; bh=XA5zrYJepuzFPUlZe3t7pzGgAwbi65N6jKkdCaEJrR0=; b=OVvRHKzG8Y4AKkDeQtU5h7qs27q+uHH/MFS17KaiUq2pW4iPKrnyfP97r0T6yoToes rWQmrU21/N+iqPALsEXhVxZkNd6b62oQPdwFjVqOQVkumUDJWvwg37lwnWZWa71mDWud ygADNZZWUJ/LPNBpMqHYkCwQmvkYjWqLGCSRB/fm8cU0+16nFinCo/azLvmZXau0TIjE fEIO+Vtfst4jRqwuMSQQe0Of18irIUV1nJqgCvszuYIhQE0xi0oXBgfeSXzr8IrLj7QQ SdGjXven3tkbS1HV9mwLkX6vMolcUs0y174rcyg4Qm8IWMYI/DHb1kPZBbMd0BZcRaKG 9SlA== X-Gm-Message-State: ACgBeo2P1Tizn8zqiL7MCdl24YcpsB4W3JBtGgF9klLPM0gBRndwrB/O KKzSBhV36QQXucUs/uVZdmhRq6h0IOdQKQ== X-Google-Smtp-Source: AA6agR72GcuUGz2+XDS8SmD6ngXW3XbEQNXZq55tsoMAwVU7cdjBcFrf6lomDssaAXdtbWF1ismGvw== X-Received: by 2002:a05:6870:ec9e:b0:11c:f0f7:20c with SMTP id eo30-20020a056870ec9e00b0011cf0f7020cmr9673531oab.177.1661866569717; Tue, 30 Aug 2022 06:36:09 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c0:745e:449b:a205:b33e:4a53? ([2804:1b3:a7c0:745e:449b:a205:b33e:4a53]) by smtp.gmail.com with ESMTPSA id u18-20020a056871059200b0010e20d0b2e3sm7904330oan.44.2022.08.30.06.36.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 06:36:09 -0700 (PDT) Message-ID: <393aee7f-bf61-a4f7-76cf-4d57c62ae244@linaro.org> Date: Tue, 30 Aug 2022 10:36:07 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [COMMITTED 2.36] syslog: Fix large messages (BZ#29536) Content-Language: en-US From: Adhemerval Zanella Netto To: libc-alpha@sourceware.org References: <20220830120655.1072019-1-adhemerval.zanella@linaro.org> Organization: Linaro In-Reply-To: <20220830120655.1072019-1-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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 30/08/22 09:06, Adhemerval Zanella wrote: > The a583b6add407c17cd change did not handle large messages that > would require a heap allocation correctly, where the message itself > is not take in consideration. > > This patch fixes it and extend the tst-syslog to check for large > messages as well. > > Checked on x86_64-linux-gnu. > > Reviewed-by: Siddhesh Poyarekar > (cherry picked from commit 52a5be0df411ef3ff45c10c7c308cb92993d15b1) And I need to sort out my environment to avoid send this kind of messages to libc-alpha, sorry for the noise.