From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2206) id 3A2DD3857815; Fri, 11 Mar 2022 15:12:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A2DD3857815 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Siddhesh Poyarekar To: glibc-cvs@sourceware.org Subject: [glibc/release/2.34/master] __glibc_unsafe_len: Fix comment X-Act-Checkin: glibc X-Git-Author: Siddhesh Poyarekar X-Git-Refname: refs/heads/release/2.34/master X-Git-Oldrev: 536910724d30a38eeecd14cdbe2c93c78ea67646 X-Git-Newrev: 98ea9372cc8d60b12aa33e007fdd5f5fb042a651 Message-Id: <20220311151214.3A2DD3857815@sourceware.org> Date: Fri, 11 Mar 2022 15:12:14 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2022 15:12:14 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=98ea9372cc8d60b12aa33e007fdd5f5fb042a651 commit 98ea9372cc8d60b12aa33e007fdd5f5fb042a651 Author: Siddhesh Poyarekar Date: Thu Dec 16 07:19:14 2021 +0530 __glibc_unsafe_len: Fix comment We know that the length is *unsafe*. Signed-off-by: Siddhesh Poyarekar (cherry picked from commit ae23fa3e5fe24daf94fc7f8e5268bb8ceeda7477) Diff: --- misc/sys/cdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 4825ff0351..3bb9f38916 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -168,7 +168,7 @@ __s, __osz)) \ && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) -/* Conversely, we know at compile time that the length is safe if the +/* Conversely, we know at compile time that the length is unsafe if the __L * __S <= __OBJSZ condition can be folded to a constant and if it is false. */ #define __glibc_unsafe_len(__l, __s, __osz) \