Mieczyslaw Nalewaj
7e5bccd011
kernel: fortify: Hide run-time copy size from value range tracking
Fix compilation warning treated as an error:
./include/linux/fortify-string.h:114:33: error: '__builtin_memcpy' reading between 65 and 536870904 bytes from a region of size 64 [-Werror=stringop-overread]
114 | #define __underlying_memcpy __builtin_memcpy
| ^
./include/linux/fortify-string.h:633:9: note: in expansion of macro '__underlying_memcpy'
633 | __underlying_##op(p, q, __fortify_size); \
| ^~~~~~~~~~~~~
./include/linux/fortify-string.h:678:26: note: in expansion of macro '__fortify_memcpy_chk'
678 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/bitmap.h:259:17: note: in expansion of macro 'memcpy'
259 | memcpy(dst, src, len);
| ^~~~~~
kernel/padata.c: In function '__padata_set_cpumasks':
kernel/padata.c:735:48: note: source object 'pcpumask' of size [0, 64]
735 | cpumask_var_t pcpumask,
| ~~~~~~~~~~~~~~^~~~~~~~
Link: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=239d87327dcd361b0098038995f8908f3296864f
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:49 +02:00
..
2025-04-07 23:57:15 +02:00
2025-03-15 13:54:59 +01:00
2024-11-17 14:55:16 +01:00
2025-04-14 10:28:50 +02:00
2025-04-04 14:39:00 +02:00
2025-04-22 19:21:07 +02:00
2025-04-14 10:28:48 +02:00
2025-04-28 10:31:59 +02:00
2025-03-15 13:54:59 +01:00
2025-04-13 10:44:19 +02:00
2025-04-22 19:21:07 +02:00
2025-03-08 11:33:56 +01:00
2025-04-10 09:38:18 +02:00
2025-04-30 16:26:49 +02:00
2025-03-15 13:54:59 +01:00
2025-04-14 10:28:48 +02:00
2025-04-10 15:01:09 +02:00
2025-03-15 13:54:59 +01:00
2025-03-15 13:54:59 +01:00
2025-04-25 15:21:08 +02:00
2025-04-13 11:25:14 +02:00
2025-03-09 17:05:26 +01:00
2024-11-17 14:55:16 +01:00
2025-04-25 21:40:42 +02:00
2025-03-15 13:54:59 +01:00
2025-04-12 23:31:39 +02:00
2025-02-05 22:00:09 +01:00
2025-04-02 10:04:52 +02:00
2025-03-15 13:54:59 +01:00
2024-11-17 14:55:16 +01:00
2025-03-15 13:54:59 +01:00
2025-04-30 11:27:33 +02:00
2025-04-12 10:38:52 +02:00
2025-04-29 12:26:36 +02:00
2025-04-15 23:24:30 +02:00
2025-04-22 11:00:17 +02:00
2024-11-17 14:55:16 +01:00
2025-04-21 16:12:42 +01:00
2025-04-14 10:28:48 +02:00
2025-04-19 18:41:29 +02:00
2025-03-15 13:54:59 +01:00
2024-11-17 14:55:16 +01:00
2025-04-30 16:26:46 +02:00
2024-11-17 14:55:16 +01:00
2024-11-17 19:29:06 +01:00