You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
911 B
24 lines
911 B
commit 98ea9372cc8d60b12aa33e007fdd5f5fb042a651 |
|
Author: Siddhesh Poyarekar <siddhesh@sourceware.org> |
|
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 <siddhesh@sourceware.org> |
|
(cherry picked from commit ae23fa3e5fe24daf94fc7f8e5268bb8ceeda7477) |
|
|
|
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h |
|
index 4825ff0351c1e5d4..3bb9f38916e30295 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) \
|
|
|