asterite
86e74fac58
validateByteRange: correctly handle bytes > 127
...
ValidateByteRange::evaluate compared bytes with values in
range [0-255], but acquired bytes by indexing std::string,
which gave type char, which is signed. So bytes with values
more than 127 were treated as negative, resulting in being
incorrectly classified as out-of-range. This commit adds
casting byte values to unsigned char before validating range.
2017-08-20 20:07:48 -03:00
..
2015-06-26 14:35:15 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:02:00 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:59 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:59 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:59 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:59 -03:00
2017-05-02 13:39:37 -03:00
2017-03-06 15:01:59 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-07-29 00:12:14 -03:00
2017-08-20 19:36:53 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-08-20 20:07:48 -03:00
2017-03-06 15:02:04 -03:00
2017-05-02 13:39:37 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:01:50 -03:00
2017-05-02 13:39:37 -03:00
2017-03-06 15:01:50 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00
2016-11-04 14:45:01 -03:00
2017-03-06 15:01:50 -03:00
2017-06-28 00:44:42 -03:00
2017-06-28 00:44:42 -03:00
2017-06-27 23:55:47 -03:00
2017-06-27 23:55:47 -03:00
2017-03-06 15:02:04 -03:00
2017-03-06 15:02:04 -03:00