Isaac Connor and Claude Opus 5
d455caa3b0
fix: use snprintf for the auth prefix in the zms auth failure log
...
strncpy() into a fixed 9-byte buffer trips -Wstringop-truncation at -O2:
error: 'char* strncpy(char*, const char*, size_t)' output may be
truncated copying 8 bytes from a string of length 63
The truncation is deliberate (log only the first 8 chars of the auth
hash) and the copy was already safe, since auth_prefix is zero
initialised so the final byte stays NUL. snprintf() expresses the same
intent, always NUL-terminates, and does not warn.
Only reproducible in an optimised build; -O0 Debug trees never see it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-08-06 21:43:36 -04:00
..
2024-03-26 13:43:58 -05:00
2026-06-27 11:27:47 -04:00
2013-03-17 00:45:21 +01:00
2026-02-04 20:44:17 -05:00
2024-10-26 14:29:40 -04:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-02-02 20:34:33 -05:00
2026-06-02 21:39:16 -04:00
2026-05-03 12:24:43 -04:00
2026-02-03 10:18:49 -05:00
2026-02-02 20:44:01 -05:00
2026-02-23 18:19:20 -05:00
2026-06-27 12:13:49 -04:00
2026-06-14 13:20:00 +10:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2021-06-06 19:11:11 +02:00
2021-05-30 22:56:21 +02:00
2021-05-30 22:56:21 +02:00
2026-07-21 18:01:05 -04:00
2026-07-21 18:01:05 -04:00
2026-05-14 07:38:58 -04:00
2024-10-26 14:29:40 -04:00
2021-05-16 16:42:58 +02:00
2026-07-21 18:01:05 -04:00
2026-07-21 18:01:05 -04:00
2026-07-21 18:01:05 -04:00
2026-02-12 23:00:59 -05:00
2026-07-26 09:48:44 -04:00
2026-06-18 17:45:12 -04:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-07-26 17:58:41 +03:00
2026-07-01 10:08:58 -04:00
2026-07-19 11:26:03 -04:00
2025-09-22 09:52:25 -04:00
2026-02-03 11:03:17 -05:00
2024-03-26 13:43:58 -05:00
2026-08-05 17:44:37 -04:00
2026-08-05 17:44:37 -04:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-02-03 11:36:53 -05:00
2024-03-26 13:43:58 -05:00
2026-02-02 23:24:08 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2021-05-30 21:41:58 +02:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-03-09 15:07:14 -04:00
2026-03-09 15:07:14 -04:00
2026-02-03 11:42:14 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-08-06 21:26:05 -04:00
2026-05-03 12:24:43 -04:00
2025-07-19 14:18:32 -04:00
2025-07-19 14:18:32 -04:00
2026-06-18 07:54:15 +10:00
2026-06-18 07:54:15 +10:00
2026-06-18 07:54:15 +10:00
2024-03-26 13:43:58 -05:00
2021-05-16 19:41:45 +02:00
2026-08-05 17:44:37 -04:00
2026-01-29 18:50:42 -05:00
2026-02-23 18:19:20 -05:00
2026-02-23 18:19:20 -05:00
2024-03-26 13:43:58 -05:00
2026-03-05 02:13:59 +00:00
2026-07-02 15:57:51 -04:00
2026-03-05 02:13:59 +00:00
2026-06-01 16:31:25 -04:00
2026-06-14 09:15:01 -05:00
2026-02-09 11:34:44 -05:00
2026-03-09 15:07:14 -04:00
2026-03-09 15:07:14 -04:00
2026-03-05 02:13:59 +00:00
2026-08-05 17:44:37 -04:00
2026-07-21 20:08:12 +03:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-07-26 09:48:44 -04:00
2026-06-18 08:21:29 +10:00
2026-05-26 23:03:33 -04:00
2026-03-05 02:15:08 +00:00
2026-02-02 20:53:00 -05:00
2024-10-29 13:30:29 -04:00
2026-06-13 09:35:40 -04:00
2026-02-15 15:38:07 -05:00
2026-06-01 11:54:32 -04:00
2026-06-01 11:54:32 -04:00
2026-06-06 11:49:30 -04:00
2026-02-03 12:13:29 -05:00
2022-01-06 16:45:15 -06:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2025-02-26 21:04:32 +11:00
2025-02-26 21:04:32 +11:00
2026-07-26 20:30:42 -04:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-05-31 09:22:09 -04:00
2024-03-26 13:43:58 -05:00
2026-02-03 12:25:21 -05:00
2024-03-26 13:43:58 -05:00
2026-05-03 12:24:43 -04:00
2026-02-03 12:34:21 -05:00
2024-03-26 13:43:58 -05:00
2026-02-03 12:45:56 -05:00
2024-03-26 13:43:58 -05:00
2026-02-03 12:47:14 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-01-09 11:43:15 -05:00
2026-01-05 13:36:16 +00:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-01-31 12:43:03 -05:00
2026-01-31 16:19:38 -05:00
2026-01-31 16:19:38 -05:00
2026-01-30 15:30:40 -05:00
2024-03-26 13:43:58 -05:00
2026-06-14 19:11:51 -04:00
2026-01-30 14:49:53 -05:00
2024-03-26 13:43:58 -05:00
2026-01-31 12:43:03 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-06-11 08:47:13 -04:00
2026-02-03 12:28:30 -05:00
2024-03-26 13:43:58 -05:00
2026-07-26 22:45:00 -04:00
2024-03-26 13:43:58 -05:00
2023-01-18 16:01:42 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-06-14 19:11:51 -04:00
2026-06-14 19:11:51 -04:00
2026-02-03 12:30:06 -05:00
2024-03-26 13:43:58 -05:00
2026-08-03 08:32:01 -04:00
2026-08-03 08:03:13 -04:00
2026-08-05 17:44:37 -04:00
2026-06-13 10:19:09 +10:00
2025-07-05 08:09:09 -04:00
2025-07-05 08:09:09 -04:00
2026-06-03 08:42:10 -04:00
2026-02-12 16:53:39 -05:00
2024-03-26 13:43:58 -05:00
2024-03-26 13:43:58 -05:00
2026-05-04 14:53:38 +00:00
2026-03-09 15:07:14 -04:00
2026-07-26 09:48:44 -04:00
2026-07-26 20:30:42 -04:00
2024-03-26 13:43:58 -05:00
2026-06-27 12:13:49 -04:00
2026-06-19 09:52:36 -04:00
2026-02-07 22:52:15 -05:00
2026-06-26 16:10:07 -04:00
2026-02-12 18:06:56 -05:00
2026-01-05 16:36:36 -05:00
2026-01-05 16:36:36 -05:00
2026-07-21 18:01:05 -04:00
2024-03-26 13:43:58 -05:00
2026-04-10 08:40:26 -04:00
2026-08-06 21:43:36 -04:00
2025-12-31 22:29:37 +11:00