Files
blackcoin-more/src
Wladimir J. van der Laan b45c50ce51 Fix two problems in CSubNet parsing
Fix two CSubNet constructor problems:

- The use of `/x` where 8 does not divide x was broken, due to a
  bit-order issue

- The use of e.g. `1.2.3.4/24` where the netmasked bits in the network
  are not 0 was broken. Fix this by explicitly normalizing the netwok
  according to the bitmask.

Also add tests for these cases.

Fixes #6179. Thanks to @jonasschnelli for reporting and initial fix.
2015-05-26 08:59:59 +02:00
..
2015-03-06 15:54:53 +01:00
2015-03-06 15:54:53 +01:00
2015-05-22 08:35:38 +02:00
2015-05-14 01:02:01 -04:00
2015-04-22 14:03:10 -07:00
2015-05-26 08:59:59 +02:00
2014-12-16 15:56:50 +08:00
2015-04-24 16:11:23 +02:00
2015-05-14 01:02:01 -04:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-05-02 15:23:59 +00:00
2015-05-06 12:29:07 +02:00
2015-04-30 07:58:29 -07:00
2015-05-04 08:01:58 +02:00
2014-12-19 19:55:32 +01:00
2015-05-02 15:23:59 +00:00
2015-05-01 11:21:27 +00:00
2015-05-06 11:38:39 +02:00
2015-05-06 11:38:39 +02:00
2015-05-01 11:21:27 +00:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-31 10:50:06 +01:00
2014-12-19 19:55:32 +01:00
2015-05-24 10:57:22 +02:00
2015-05-06 18:37:49 +02:00
2015-05-06 18:37:49 +02:00
2015-03-22 15:18:55 -04:00
2014-12-19 19:55:32 +01:00
2015-05-19 11:42:47 +02:00
2015-05-22 08:35:38 +02:00
2015-05-14 14:27:07 -04:00
2015-05-11 17:56:48 -07:00
2015-05-01 11:21:27 +00:00
2015-05-01 11:21:27 +00:00
2015-05-14 12:50:42 -04:00
2015-05-14 12:50:42 -04:00
2015-05-26 08:59:13 +02:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2015-05-11 16:40:58 +02:00
2015-04-30 16:37:18 +02:00
2014-12-19 19:55:32 +01:00
2015-04-17 13:26:47 +02:00
2015-04-17 13:26:47 +02:00
2015-05-06 16:50:05 +02:00
2015-05-06 16:50:05 +02:00
2015-05-16 17:59:23 -04:00
2015-05-14 01:02:01 -04:00
2015-04-20 13:29:21 +02:00
2015-01-02 17:54:21 +01:00
2014-12-19 19:55:32 +01:00
2015-05-11 17:58:14 -07:00
2015-05-13 17:10:02 +02:00
2015-05-14 01:02:01 -04:00
2015-05-14 12:50:42 -04:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00