Don Lewis
e60dd0e86a
Fix a couple of Coverity Unintended sign extension sign extension
...
defects. When shifting an unsigned byte into the upper 8 bits of
an int and the resulting value is greater than 0x7FFFFFF, the result
will be sign extended when converting to a 64 bit unsigned long.
Fix by casting to (uint64_t) before the shift.
Reported by: Coverity
CID: 1356044, 1356045
Reviewed by: ken
2016-05-25 15:49:29 +00:00
..
2016-02-09 20:19:31 +00:00
2016-04-19 00:59:15 +00:00
2016-02-09 20:19:31 +00:00
2016-04-18 07:40:36 +00:00
2016-05-25 15:49:29 +00:00
2016-02-09 19:30:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-05-04 23:20:53 +00:00
2016-02-09 20:19:31 +00:00
2016-05-18 23:41:55 +00:00
2016-02-09 20:19:31 +00:00
2016-05-01 02:24:05 +00:00
2016-05-02 01:40:31 +00:00
2016-04-19 04:28:25 +00:00
2016-02-09 20:19:31 +00:00
2016-04-30 19:58:54 +00:00
2016-04-30 19:58:54 +00:00
2016-02-09 20:19:31 +00:00
2016-04-18 07:44:53 +00:00
2016-05-11 16:20:23 +00:00
2016-05-04 22:27:22 +00:00
2016-04-18 07:47:26 +00:00
2016-02-09 20:19:31 +00:00
2016-03-02 16:14:46 +00:00
2016-05-01 02:24:05 +00:00
2016-01-28 03:24:06 +00:00
2016-05-11 09:26:23 +00:00
2016-02-09 20:19:31 +00:00
2016-03-02 16:14:46 +00:00
2016-05-04 22:34:11 +00:00
2016-05-16 08:07:32 +00:00
2016-05-16 00:34:48 +00:00
2016-03-02 16:14:46 +00:00
2016-05-17 11:22:08 +00:00
2016-05-24 00:57:11 +00:00
2016-04-19 04:52:13 +00:00
2016-04-19 04:52:51 +00:00
2016-04-04 23:55:32 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-05-04 23:20:53 +00:00
2016-03-14 18:54:29 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-04-16 02:32:12 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 19:30:31 +00:00
2016-02-09 19:30:31 +00:00
2016-05-02 00:45:46 +00:00
2016-04-19 04:57:57 +00:00
2016-05-01 02:19:49 +00:00
2016-02-09 20:19:31 +00:00
2016-02-09 20:19:31 +00:00
2016-05-06 03:11:34 +00:00
2016-04-30 19:04:59 +00:00
2016-02-09 19:30:31 +00:00
2016-05-12 05:43:54 +00:00
2016-05-16 00:35:39 +00:00
2016-05-16 00:36:12 +00:00
2016-02-09 20:19:31 +00:00
2016-05-06 20:49:14 +00:00
2016-05-01 02:24:05 +00:00
2016-02-09 20:19:31 +00:00
2016-05-01 21:17:30 +00:00
2016-03-02 16:14:46 +00:00
2016-05-15 06:06:22 +00:00
2016-02-09 19:30:31 +00:00
2016-04-20 00:49:49 +00:00
2016-02-09 20:19:31 +00:00
2016-04-19 09:43:51 +00:00
2016-02-09 20:19:31 +00:00
2015-06-13 19:20:56 +00:00
2016-04-20 01:35:09 +00:00
2016-04-30 19:04:59 +00:00
2016-02-09 20:19:31 +00:00
2016-05-04 23:20:53 +00:00
2016-04-19 15:08:35 +00:00
2016-02-09 20:19:31 +00:00
2016-02-25 18:23:40 +00:00
2012-09-17 21:41:38 +00:00
2012-09-17 21:41:38 +00:00
2014-05-06 04:22:01 +00:00