Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1661224rwi; Wed, 19 Oct 2022 13:40:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45bWsgzw40UaJWGPnCEAq/giKzC12tvgb7UhC6jsZ2xwqQFkO35vscC0skuEsHIYC6uFZo X-Received: by 2002:a05:6402:2402:b0:45c:a1ce:94d8 with SMTP id t2-20020a056402240200b0045ca1ce94d8mr9006399eda.50.1666212036568; Wed, 19 Oct 2022 13:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666212036; cv=none; d=google.com; s=arc-20160816; b=vKFZ/myoN76DkO6YchgxFfW6IfBBoE9qSPKFzef/GB7Y1IhErCF6Iqca4kMh7wUFGm t/5zfCNSOpjFWLYvAL3K+2tn9Jjw02clsmiajgz5iG+R6jSmX3sFwfj0Ow3Cyla2Wt4W 0FhwskPoMiBBMQUzeKSpxfOa25O7VT172b4m5/GCtsbx9eHymSOVAQ3+PoW78a/rOWmd uyjtuaHhrsKa7e3HEh0o6xuLX5c0PAlRFwa3IWguCRtmeYXBGQ3/TGS/rUMHnSZ4xWPK yXTQVyiFiiLFsN1S53QqCEXfCE3t0zOgCCRbYBVBtvZ+UGLOnQM1lwdUs8J77aZ/hWOe ZIHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=wFQ7RsA7MZ8W+OdBylKARXZT0tMrfTKjhV+VPCgNeTI=; b=HvGGYxYJ8pvoZNnqK3r4VmlQ4OisooyTm9aIm/4/btj+plCkF4eAon8Lqx05A4Ftah 2Xah1hWBR8N3n6kCd57urYE4WTj1Dpsx/bjS6Q5QOYDEj+RV8/91jUjIKDrkN9aC4S/3 f1ObWzIqak5ig61JVWXpKKnH2Kmqi5oujU4dXFgh8tcWZbeF8NS+czoxeA3uIuwDBXCh U59/tGgMUvqeGqZfJoEMsFD8aDplbYxE3WBmAe9f/CEIpnpP3ZVJOCSmd/MPJpG24e5m 1YruL1ga46pvmiTGj+TgVjXRnGu1Q8VJyMqlJiM8xWomuoKOQo1I4He4txTO+cL3V6C8 ylTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dmpbTVOw; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o15-20020a170906974f00b007919a96409bsi6009448ejy.129.2022.10.19.13.39.37; Wed, 19 Oct 2022 13:40:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dmpbTVOw; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230247AbiJSUal (ORCPT + 99 others); Wed, 19 Oct 2022 16:30:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiJSUak (ORCPT ); Wed, 19 Oct 2022 16:30:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6144C444BB for ; Wed, 19 Oct 2022 13:30:39 -0700 (PDT) Received: from localhost.localdomain (67.227.121.78.rev.sfr.net [78.121.227.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: fdanis) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9AAC16602389 for ; Wed, 19 Oct 2022 21:30:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666211437; bh=BD0+Xz3x6Ck+fAomkH/0kyYXP3MRRilkrVi0MRLwbi0=; h=From:To:Subject:Date:From; b=dmpbTVOwSpMpbvEKUeoDaLWpY6cGr0m9ByXXuuqGrn92JOlpy5QpMYpm3Da8uHDfI wTxxQ/SrrAJwSwKTDJYzNa85z1sSwWb5FdXa0ZWhq3LyfhKEH9tcAXgDFqCyGhRM81 7lu4bfCoxmkOoOLl/BCviNbGtC7FDwj9oQ5+IZyVh1d06Lwwmr6QGlx4JjsunBLzwZ eMckt1r7vYOUBpV5abRddcaW0QlNVJMNY2I39lMg2+QBQfwUSZqQqDTpB+6pJwwG8q 6mnRjNx9B4PhoY/Y2om7KpLwhf1Omf613bMzlmnWEAIWQtsaa5TWczEHZSt/KQAuad Js+20CApeYbqg== From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ] shared/util: Increase debug trace buffer size Date: Wed, 19 Oct 2022 22:30:28 +0200 Message-Id: <20221019203028.57090-1-frederic.danis@collabora.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Most of the debug traces are longer than 78 characters, increase the buffer to not lost trace's end --- src/shared/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index e1e56459a..0a0308cb0 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -65,7 +65,7 @@ void *util_memdup(const void *src, size_t size) void util_debug_va(util_debug_func_t function, void *user_data, const char *format, va_list va) { - char str[78]; + char str[MAX_INPUT]; if (!function || !format) return; -- 2.25.1