Dale Curtis
7010dd98b5
Fix undefined shift on assumed 8-bit input.
...
decode_user_data() attempts to create an integer |build|
value with 8 bits of spacing for 3 components. However
each component is an int32_t, so shifting each component
is undefined for values outside of the 8 bit range.
This patch simply clamps input to 8-bits per component
and prints out a warning that the values were clamped.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-21 03:13:03 +01:00
..
2017-11-11 17:47:10 -03:00
2017-11-11 15:56:27 -03:00
2017-11-11 23:30:31 -03:00
2017-11-14 20:48:36 +01:00
2017-11-18 11:57:57 +01:00
2017-11-20 18:33:58 -03:00
2017-11-13 19:54:20 +01:00
2017-11-09 04:35:31 +00:00
2017-11-09 03:37:48 +00:00
2017-11-09 12:58:42 +00:00
2017-11-13 19:54:20 +01:00
2017-11-11 11:29:16 -03:00
2017-11-20 07:21:41 -08:00
2017-11-16 23:37:11 +01:00
2017-11-10 21:32:06 +00:00
2017-11-19 22:07:48 -03:00
2017-11-13 03:58:34 +01:00
2017-11-12 16:00:41 +00:00
2017-11-12 16:00:27 +00:00
2017-11-09 19:49:32 +01:00
2017-11-10 21:32:06 +00:00
2017-11-20 15:47:05 +00:00
2017-11-11 11:29:16 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 00:54:19 -03:00
2017-11-18 11:57:57 +01:00
2017-11-18 01:15:17 +01:00
2017-11-11 01:41:16 -03:00
2017-11-15 17:31:09 +01:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-20 07:21:41 -08:00
2017-11-12 16:00:48 +00:00
2017-11-17 22:22:11 +00:00
2017-11-10 22:48:53 +01:00
2017-11-13 14:32:48 -08:00
2017-11-15 17:31:09 +01:00
2017-11-12 12:49:37 -03:00
2017-11-11 00:36:22 -03:00
2017-11-13 14:32:48 -08:00
2017-11-20 21:29:00 +01:00
2017-11-19 18:26:45 -03:00
2017-11-12 04:29:06 +01:00
2017-11-11 11:29:16 -03:00
2017-11-11 18:04:22 -03:00
2017-11-11 18:04:22 -03:00
2017-11-10 00:53:11 +01:00
2017-11-12 00:44:26 -03:00
2017-11-20 16:02:44 -08:00
2017-11-20 16:02:50 -08:00
2017-11-20 16:02:55 -08:00
2017-11-10 00:53:11 +01:00
2017-11-20 07:21:41 -08:00
2017-11-13 19:54:20 +01:00
2017-11-13 19:54:20 +01:00
2017-11-18 11:57:57 +01:00
2017-11-12 12:49:37 -03:00
2017-11-11 11:29:16 -03:00
2017-11-21 03:13:03 +01:00
2017-11-20 07:03:26 -08:00
2017-11-11 01:24:55 -03:00
2017-11-11 11:29:16 -03:00
2017-11-11 01:39:47 -03:00
2017-11-11 01:39:47 -03:00
2017-11-18 11:57:57 +01:00
2017-11-14 19:39:06 -08:00
2017-11-11 20:33:45 -03:00
2017-11-11 20:33:45 -03:00
2017-11-20 07:21:41 -08:00
2017-11-20 07:03:26 -08:00
2017-11-20 07:03:26 -08:00
2017-11-20 07:03:26 -08:00
2017-11-20 15:47:05 +00:00
2017-11-20 07:03:26 -08:00
2017-11-20 15:47:05 +00:00
2017-11-17 23:34:18 +01:00
2017-11-11 09:58:01 -03:00
2017-11-15 21:28:36 -03:00
2017-11-15 01:14:22 -03:00
2017-11-11 15:24:08 -03:00
2017-11-11 17:27:30 -03:00
2017-11-11 11:29:16 -03:00
2017-11-12 01:13:07 -03:00
2017-11-17 20:37:41 +01:00
2017-11-15 01:14:22 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-15 23:52:21 +00:00
2017-11-11 14:07:09 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-14 19:40:01 -08:00
2017-11-15 17:31:09 +01:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-11 20:33:26 -03:00
2017-11-20 07:21:41 -08:00
2017-11-20 10:23:43 -08:00
2017-11-13 14:32:48 -08:00
2017-11-12 01:14:52 -03:00
2017-11-13 20:33:10 +01:00
2017-11-20 10:23:43 -08:00
2017-11-11 14:19:05 +01:00
2017-11-18 11:57:57 +01:00
2017-11-10 16:56:54 +01:00
2017-11-18 11:57:57 +01:00