[{"id":1762970,"web_url":"http://patchwork.ozlabs.org/comment/1762970/","msgid":"<6b7f70eb-c8c3-18b1-23cd-03a2b7feba79@canonical.com>","list_archive_url":null,"date":"2017-09-05T05:29:07","subject":"ACK: [PATCH] iASL: Fix incorrect memory allocation","submitter":{"id":10593,"url":"http://patchwork.ozlabs.org/api/people/10593/","name":"Alex Hung","email":"alex.hung@canonical.com"},"content":"On 2017-09-04 05:05 AM, Colin King wrote:\n> From: Colin Ian King <colin.king@canonical.com>\n> \n> Was using UtLocalCalloc instead of UtStringCacheCalloc.\n> Reported by Colin Ian King.\n> ACPICA BZ 1416\n> \n> Signed-off-by: Colin Ian King <colin.king@canonical.com>\n> ---\n>   src/acpica/source/compiler/asldebug.c | 2 +-\n>   1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/src/acpica/source/compiler/asldebug.c b/src/acpica/source/compiler/asldebug.c\n> index 684e2224..9640a841 100644\n> --- a/src/acpica/source/compiler/asldebug.c\n> +++ b/src/acpica/source/compiler/asldebug.c\n> @@ -356,7 +356,7 @@ UtCreateEscapeSequences (\n>   \n>       /* New string buffer, 3 extra chars per escape (4 total) */\n>   \n> -    OutString = UtLocalCalloc (InStringLength + (EscapeCount * 3));\n> +    OutString = UtStringCacheCalloc (InStringLength + (EscapeCount * 3));\n>       OutStringPtr = OutString;\n>   \n>       /* Convert non-ascii or non-printable chars to escape sequences */\n> \n\nAcked-by: Alex Hung <alex.hung@canonical.com>","headers":{"Return-Path":"<fwts-devel-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=fwts-devel-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)","Received":["from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmZyl4yPWz9sNq;\n\tTue,  5 Sep 2017 15:29:17 +1000 (AEST)","from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.86_2)\n\t(envelope-from <fwts-devel-bounces@lists.ubuntu.com>)\n\tid 1dp6QD-00025e-QV; Tue, 05 Sep 2017 05:29:13 +0000","from youngberry.canonical.com ([91.189.89.112])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128)\n\t(Exim 4.86_2) (envelope-from <alex.hung@canonical.com>)\n\tid 1dp6QC-00025Y-Df\n\tfor fwts-devel@lists.ubuntu.com; Tue, 05 Sep 2017 05:29:12 +0000","from mail-pg0-f70.google.com ([74.125.83.70])\n\tby youngberry.canonical.com with esmtps\n\t(TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.76) (envelope-from <alex.hung@canonical.com>)\n\tid 1dp6QC-0001Z3-29\n\tfor fwts-devel@lists.ubuntu.com; Tue, 05 Sep 2017 05:29:12 +0000","by mail-pg0-f70.google.com with SMTP id t3so5159058pgt.7\n\tfor <fwts-devel@lists.ubuntu.com>;\n\tMon, 04 Sep 2017 22:29:11 -0700 (PDT)","from [192.168.1.125] ([207.102.104.225])\n\tby smtp.gmail.com with ESMTPSA id\n\tm6sm12384039pfm.99.2017.09.04.22.29.09\n\tfor <fwts-devel@lists.ubuntu.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 04 Sep 2017 22:29:10 -0700 (PDT)"],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:to:references:from:message-id:date\n\t:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=0Fnemv9lc07PcQoI+3UXFTgHt7Bf09w+PF1PLNkR3eo=;\n\tb=tyKUxrvmpw5wrZK0iFUZyLgkzO4nQl6pAQBvH47WXs6htfeWLfRdc6rZfvHele9+4E\n\t0JKzkxC9yqi2oI8HvJdzWzLGKEALZkTmrH7Tq+Dn4t904jOSyP1JBZt0IV27Wulw0swE\n\t85XiT66a1m+HxiYHRYjEKy92ZnaJt6QWSSmANwgcOtYJ1pVPtsLdTUDZoTHfO7KnryB8\n\tL6D/LCLvrUio+H8yRHFw8mwDN+5OP+aHhWk7aiN0XK9BJDvKI0wWF6uYKYIT1niETcbS\n\t/nTEFUiqs2mD5XhujYVVxyKMiLaNbUZHqHosuCfA2USn7T4UQYLrae7n5P9FBnBqTI4S\n\trmnw==","X-Gm-Message-State":"AHPjjUjPPAoSZMa/1q1fbTmWzmc1wVU+of94oviq+bWu7Kup1cTFB81F\n\tKEfd8Ds8hxGjW69OuiiIGAV8z19UiYJ6rVjjDGgtrOAM5ZBM2Z1/7vWHXRwLOhsiw/gQSx94d5L\n\tJclPGPaKpF9mpWE/yj5m5WS23w9k40IA=","X-Received":["by 10.84.218.199 with SMTP id g7mr3063668plm.215.1504589350705; \n\tMon, 04 Sep 2017 22:29:10 -0700 (PDT)","by 10.84.218.199 with SMTP id g7mr3063661plm.215.1504589350539; \n\tMon, 04 Sep 2017 22:29:10 -0700 (PDT)"],"X-Google-Smtp-Source":"ADKCNb6yXLE5zoG0AfBaGtOHvb9UqznyVT2jjHl4j7gvRgKUnCu0t5dnmaSHXVZkEyuikKjdayiPzw==","Subject":"ACK: [PATCH] iASL: Fix incorrect memory allocation","To":"fwts-devel@lists.ubuntu.com","References":"<20170904120519.25448-1-colin.king@canonical.com>","From":"Alex Hung <alex.hung@canonical.com>","Message-ID":"<6b7f70eb-c8c3-18b1-23cd-03a2b7feba79@canonical.com>","Date":"Mon, 4 Sep 2017 22:29:07 -0700","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<20170904120519.25448-1-colin.king@canonical.com>","Content-Language":"en-US","X-BeenThere":"fwts-devel@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Firmware Test Suite Development <fwts-devel.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/fwts-devel>,\n\t<mailto:fwts-devel-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/fwts-devel>","List-Post":"<mailto:fwts-devel@lists.ubuntu.com>","List-Help":"<mailto:fwts-devel-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/fwts-devel>,\n\t<mailto:fwts-devel-request@lists.ubuntu.com?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"fwts-devel-bounces@lists.ubuntu.com","Sender":"\"fwts-devel\" <fwts-devel-bounces@lists.ubuntu.com>"}},{"id":1763889,"web_url":"http://patchwork.ozlabs.org/comment/1763889/","msgid":"<9f50fa21-9d47-f838-ddea-7d51a93ac846@canonical.com>","list_archive_url":null,"date":"2017-09-06T08:17:30","subject":"ACK: [PATCH] iASL: Fix incorrect memory allocation","submitter":{"id":14061,"url":"http://patchwork.ozlabs.org/api/people/14061/","name":"Ivan Hu","email":"ivan.hu@canonical.com"},"content":"On 09/04/2017 08:05 PM, Colin King wrote:\n> From: Colin Ian King <colin.king@canonical.com>\n> \n> Was using UtLocalCalloc instead of UtStringCacheCalloc.\n> Reported by Colin Ian King.\n> ACPICA BZ 1416\n> \n> Signed-off-by: Colin Ian King <colin.king@canonical.com>\n> ---\n>   src/acpica/source/compiler/asldebug.c | 2 +-\n>   1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/src/acpica/source/compiler/asldebug.c b/src/acpica/source/compiler/asldebug.c\n> index 684e2224..9640a841 100644\n> --- a/src/acpica/source/compiler/asldebug.c\n> +++ b/src/acpica/source/compiler/asldebug.c\n> @@ -356,7 +356,7 @@ UtCreateEscapeSequences (\n>   \n>       /* New string buffer, 3 extra chars per escape (4 total) */\n>   \n> -    OutString = UtLocalCalloc (InStringLength + (EscapeCount * 3));\n> +    OutString = UtStringCacheCalloc (InStringLength + (EscapeCount * 3));\n>       OutStringPtr = OutString;\n>   \n>       /* Convert non-ascii or non-printable chars to escape sequences */\n> \n\nAcked-by: Ivan Hu <ivan.hu@canonical.com>","headers":{"Return-Path":"<fwts-devel-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=fwts-devel-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)","Received":["from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnGfT6clVz9s8J;\n\tWed,  6 Sep 2017 18:17:37 +1000 (AEST)","from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.86_2)\n\t(envelope-from <fwts-devel-bounces@lists.ubuntu.com>)\n\tid 1dpVWi-0007Yk-3Z; Wed, 06 Sep 2017 08:17:36 +0000","from youngberry.canonical.com ([91.189.89.112])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128)\n\t(Exim 4.86_2) (envelope-from <ivan.hu@canonical.com>)\n\tid 1dpVWf-0007YI-Fz\n\tfor fwts-devel@lists.ubuntu.com; Wed, 06 Sep 2017 08:17:33 +0000","from [175.181.155.140] (helo=[192.168.31.95])\n\tby youngberry.canonical.com with esmtpsa\n\t(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.76) (envelope-from <ivan.hu@canonical.com>)\n\tid 1dpVWe-0002Sm-WF\n\tfor fwts-devel@lists.ubuntu.com; Wed, 06 Sep 2017 08:17:33 +0000"],"Subject":"ACK: [PATCH] iASL: Fix incorrect memory allocation","To":"fwts-devel@lists.ubuntu.com","References":"<20170904120519.25448-1-colin.king@canonical.com>","From":"ivanhu <ivan.hu@canonical.com>","Message-ID":"<9f50fa21-9d47-f838-ddea-7d51a93ac846@canonical.com>","Date":"Wed, 6 Sep 2017 16:17:30 +0800","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<20170904120519.25448-1-colin.king@canonical.com>","Content-Language":"en-GB","X-BeenThere":"fwts-devel@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Firmware Test Suite Development <fwts-devel.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/fwts-devel>,\n\t<mailto:fwts-devel-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/fwts-devel>","List-Post":"<mailto:fwts-devel@lists.ubuntu.com>","List-Help":"<mailto:fwts-devel-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/fwts-devel>,\n\t<mailto:fwts-devel-request@lists.ubuntu.com?subject=subscribe>","Content-Transfer-Encoding":"base64","Content-Type":"text/plain; charset=\"utf-8\"; Format=\"flowed\"","Errors-To":"fwts-devel-bounces@lists.ubuntu.com","Sender":"\"fwts-devel\" <fwts-devel-bounces@lists.ubuntu.com>"}}]