Alessandro Decina
49319b4206
uninit_vec: special case set_len(0)
set_len(0) does not create uninitialized elements. Fixes a false positive with
the following pattern:
fn copy_slice_into_vec(dst: &mut Vec<u8>, src: &[u8]) {
dst.reserve(src.len().saturating_sub(dst.len()));
unsafe {
dst.set_len(0);
std::ptr::copy_nonoverlapping(src.as_ptr(), dst.as_mut_ptr(), src.len());
dst.set_len(src.len());
}
}
2022-09-23 09:35:47 +01:00
..
2022-09-08 21:27:09 +02:00
2022-09-13 10:35:59 +02:00
2022-08-03 12:17:23 +02:00
2022-07-18 09:39:37 +02:00
2022-09-11 12:26:13 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-08-11 19:42:16 +02:00
2022-09-13 10:35:59 +02:00
2022-09-13 10:35:59 +02:00
2022-09-13 10:35:59 +02:00
2022-09-20 12:06:49 -03:00
2022-09-20 12:06:49 -03:00
2022-09-10 10:30:19 +02:00
2022-09-10 10:30:19 +02:00
2022-09-10 10:30:19 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-09-02 13:03:11 -05:00
2022-09-14 13:35:35 -06:00
2022-09-14 13:33:13 -06:00
2022-09-14 13:35:35 -06:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-07-29 19:35:39 +01:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-09-01 18:46:53 +08:00
2022-09-01 18:46:53 +08:00
2022-09-01 18:46:53 +08:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-09-13 17:00:19 +02:00
2022-09-13 17:00:19 +02:00
2022-09-13 17:00:19 +02:00
2022-07-01 17:39:19 +02:00
2022-07-01 17:39:19 +02:00
2022-07-15 09:49:15 +02:00
2022-07-15 09:49:15 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-07-19 03:07:54 +00:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-09-12 11:39:54 +00:00
2022-09-12 11:39:54 +00:00
2022-09-12 11:39:54 +00:00
2022-07-19 03:07:54 +00:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-01 12:51:13 +02:00
2022-09-01 12:51:13 +02:00
2022-09-01 12:51:13 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-31 15:24:40 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-19 03:07:54 +00:00
2022-09-16 13:59:51 +05:30
2022-09-16 13:59:51 +05:30
2022-09-16 13:59:51 +05:30
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-09-08 20:44:32 +00:00
2022-09-08 20:44:32 +00:00
2022-09-11 16:24:33 +02:00
2022-09-11 16:24:33 +02:00
2022-09-14 13:35:32 -06:00
2022-08-11 19:42:16 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:09:11 -04:00
2022-08-31 09:09:11 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-09-02 20:39:47 +02:00
2022-09-02 20:39:47 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-29 19:34:11 +02:00
2022-08-29 19:34:11 +02:00
2022-08-29 19:34:11 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-01 17:39:19 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-09-10 19:48:14 +02:00
2022-09-10 19:48:14 +02:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-04 23:43:17 +03:00
2022-08-31 09:24:45 -04:00
2022-09-04 23:43:17 +03:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-09-08 20:04:43 +02:00
2022-09-08 20:04:43 +02:00
2022-09-08 20:04:43 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-03 00:16:28 +02:00
2022-09-03 00:16:28 +02:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-23 21:14:12 -05:00
2022-08-23 21:14:12 -05:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-11 19:42:16 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-23 09:35:47 +01:00
2022-08-29 21:28:35 +01:00
2022-08-11 19:42:16 +02:00
2022-08-11 19:42:16 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-21 07:14:04 +02:00
2022-09-21 07:14:04 +02:00
2022-09-03 17:00:44 +02:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-08-03 12:17:23 +02:00
2022-09-11 12:40:52 +00:00
2022-08-31 09:24:45 -04:00
2022-07-28 19:08:22 +02:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-06 04:38:29 +00:00
2022-09-06 04:38:29 +00:00
2022-09-06 04:38:29 +00:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-10 11:42:37 +02:00
2022-09-10 11:42:37 +02:00
2022-08-11 19:42:16 +02:00
2022-07-07 19:30:37 +00:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-09-07 15:26:44 -04:00
2022-09-07 15:26:44 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-08-31 09:24:45 -04:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-07-18 09:39:37 +02:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00
2022-09-08 20:18:02 +00:00