]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
__glibc_unsafe_len: Fix comment
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 16 Dec 2021 01:49:14 +0000 (07:19 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 11 Mar 2022 15:06:24 +0000 (20:36 +0530)
We know that the length is *unsafe*.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
(cherry picked from commit ae23fa3e5fe24daf94fc7f8e5268bb8ceeda7477)

misc/sys/cdefs.h

index 4825ff0351c1e5d440e69f8b297053eb2e05de26..3bb9f38916e3029510b7b23701a8ca341ba0f5e7 100644 (file)
                                                   __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) \