From patchwork Sun Nov 12 09:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1862811 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=c8tDXVJ2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SSn6N559Xz1yRV for ; Sun, 12 Nov 2023 20:18:16 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 31F1F3858C41 for ; Sun, 12 Nov 2023 09:18:14 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by sourceware.org (Postfix) with ESMTPS id 549F73858D1E for ; Sun, 12 Nov 2023 09:18:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 549F73858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 549F73858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2604:1380:4601:e00::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699780684; cv=none; b=euZHUQBqHXsqyVfTRbnvGhihSZ5zRkOxLeVq0cJvB5dapqysYEPS+s3gju5niL6pzSPHpcfzyVzuHKdpWn6WLnCURg6/ywcCU5vC9UGrWDYgkhB1qnQf4lVDw2zByz1XVyYqYZy2xObgop1o54gyGj4FE4XwnAz1DnJvAyYIyBs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699780684; c=relaxed/simple; bh=K9ZUGCWhB2IFIS3rkqm33yaClfpMPJLJH6tsdrf26Zo=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=GcyIdnRvThsY5E+bCZpQs5nOE3q7B5Bl4L5GVMToNpAJ4+1ZCIwbpu0I1g2wwY3YciFjBVPLLHBURab7OA2M3NzbtMVtpZNFOCM/LMn+q0PgRkEsSgOWAK9Vmp9gYt2yFtM0E2L8VwgOlsW/IQ4UmNZ3R6lhbxQoZ1gX2HjM6is= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 96686B80881 for ; Sun, 12 Nov 2023 09:18:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37040C433C8; Sun, 12 Nov 2023 09:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699780680; bh=K9ZUGCWhB2IFIS3rkqm33yaClfpMPJLJH6tsdrf26Zo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c8tDXVJ26qmaUUNuxZSQBe7kldTOj/nJaMf0KtTpnPihh3M3Owu8XAu5GV3lhoQhS /1tiCPOwQ4W5tnEGOgg7F+KHyx3qhCbR/IyvQT58nS07njN3EYRChVbKBss4IipSvF zNpJxMms2P+V1uGqKdgh39Lk1aZEkaxPpB2BsHm6pLRDx2FlySqfsg3IWq2+hIor39 YYHhWoQp3DjJpv9q2pX0ATnzBQkBNvUAd3SN5ztPdK2yNxmnqbO+0SeEOZ8EbPUHjX oP7wP1eG9qiMghPTqcZYFNmmOD6kqm82ZFg2Rq8pMp1urypAkYoCvlKtSLajdMpMyg 5SBShJOI+oBkw== Date: Sun, 12 Nov 2023 10:17:57 +0100 From: Alejandro Colomar To: linux-man@vger.kernel.org Cc: Alejandro Colomar , libc-alpha@sourceware.org Subject: [PATCH 0/2] Expand BUGS section of string_copying(7). Message-ID: <20231112091748.6906-2-alx@kernel.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.42.0 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Hi, After Paul showing important problems of strlcpy(3) (and strlcat(3)), I've written something in string_copying(7)'s BUGS to warn against them. Cheers, Alex Alejandro Colomar (2): string_copying.7: BUGS: *cat(3) functions aren't always bad string_copying.7: BUGS: Document strl{cpy,cat}(3)'s performance problems man7/string_copying.7 | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-)