Vasil Dimov
b8112cf422
util: use explicit cast in MultiIntBitSet::Fill()
...
The current code does not have a bug, but is implicitly casting -1 to
65535 and the sanitizer has no way to know whether we intend that or
not.
```
FUZZ=bitset src/test/fuzz/fuzz /tmp/fuz
error: implicit conversion from type 'int' of value -1 (32-bit, signed)
to type 'value_type' (aka 'unsigned short') changed the value to 65535
(16-bit, unsigned)
Base64: Qv7bX/8=
```
Github-Pull: bitcoin/bitcoin#31431
Rebased-From: edb41e4814ccc2c06a5694b2d2632dbbd22bc0cf
2024-12-11 11:41:39 -05:00
..
2023-05-20 12:03:33 +02:00
2024-09-16 23:10:14 -04:00
2023-03-23 12:55:18 +01:00
2023-05-20 12:03:30 +02:00
2023-05-20 12:03:30 +02:00
2023-05-08 13:31:28 -04:00
2023-04-04 18:33:08 +02:00
2024-04-28 07:11:24 +01:00
2024-12-11 11:41:39 -05:00
2024-07-01 12:39:53 -04:00
2024-08-06 01:38:10 +02:00
2024-08-06 01:38:10 +02:00
2024-05-01 08:33:04 +02:00
2023-11-24 13:11:36 +01:00
2023-03-13 17:09:47 +01:00
2023-03-13 17:09:47 +01:00
2024-04-22 09:36:36 -04:00
2024-04-22 09:36:36 -04:00
2024-06-27 14:55:10 +01:00
2024-06-27 14:55:10 +01:00
2023-12-11 17:42:05 +01:00
2023-12-14 16:22:40 +01:00
2024-07-01 12:39:53 -04:00
2023-10-30 15:12:26 +01:00
2023-05-20 12:03:31 +02:00
2024-05-16 10:16:08 -05:00
2024-01-05 11:22:31 +01:00
2023-03-23 12:55:18 +01:00
2023-03-23 12:55:18 +01:00
2024-04-25 16:08:24 -04:00
2023-12-04 15:39:15 -04:00
2023-12-04 15:39:15 -04:00
2023-10-31 18:19:22 +01:00
2023-10-31 18:19:22 +01:00
2024-05-16 17:16:08 +02:00
2024-05-16 10:16:08 -05:00
2024-05-16 10:16:08 -05:00
2024-07-19 15:09:00 +02:00
2024-07-08 11:12:01 +02:00
2024-05-01 08:33:04 +02:00
2023-06-30 09:48:21 -04:00
2024-07-08 11:12:01 +02:00
2023-03-13 17:09:47 +01:00
2023-06-28 09:49:28 +02:00
2024-05-21 10:29:51 +01:00
2024-05-16 18:16:46 +02:00
2024-04-15 13:34:31 +02:00
2024-03-18 16:01:08 +01:00
2024-05-01 08:33:04 +02:00
2024-05-01 08:33:04 +02:00
2024-07-31 16:47:39 +01:00
2024-07-10 09:40:47 +02:00
2024-01-05 11:22:31 +01:00
2024-06-11 16:28:11 +00:00
2023-09-30 06:38:47 -04:00