Mark Andrews
b212d29a71
Silence use of tainted scalar
...
2607
43. tainted_argument: Calling function journal_read_xhdr taints argument xhdr.size. [show details]
2608 result = journal_read_xhdr(j1, &xhdr);
44. Condition rewrite, taking true branch.
45. Condition result == 29, taking false branch.
2609 if (rewrite && result == ISC_R_NOMORE) {
2610 break;
2611 }
46. Condition result != 0, taking false branch.
2612 CHECK(result);
2613
47. var_assign_var: Assigning: size = xhdr.size. Both are now tainted.
2614 size = xhdr.size;
CID 331088 (#3 of 3): Untrusted allocation size (TAINTED_SCALAR)
48. tainted_data: Passing tainted expression size to isc__mem_get, which uses it as an allocation size. [show details]
Ensure that tainted values are properly sanitized, by checking that their values are within a permissible range.
2615 buf = isc_mem_get(mctx, size);
(cherry picked from commit 83fd38dd2c )
2021-07-12 10:45:42 +10:00
..
2021-07-01 14:48:23 +02:00
2021-07-01 15:01:05 +10:00
2021-06-23 17:31:13 +02:00
2021-07-01 14:48:47 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-06-17 17:17:37 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-04-19 14:32:53 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2020-11-25 13:21:58 +01:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2020-11-11 15:59:56 -03:00
2021-05-05 18:23:53 +02:00
2021-02-23 09:41:15 +11:00
2020-02-21 07:05:31 +00:00
2020-09-14 16:50:58 -07:00
2021-07-01 14:48:47 +02:00
2021-07-01 14:48:47 +02:00
2020-09-14 16:50:58 -07:00
2021-07-01 14:48:23 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-05-14 12:52:48 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-02-16 12:08:21 +11:00
2021-04-08 10:41:08 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-07-12 10:45:42 +10:00
2021-02-23 09:18:55 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-07-01 14:48:23 +02:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-04-01 10:42:32 +02:00
2020-03-12 00:38:37 -07:00
2020-09-14 16:50:58 -07:00
2021-06-04 11:32:31 +02:00
2021-06-13 08:19:44 +02:00
2021-05-22 07:17:01 +02:00
2020-09-14 16:50:58 -07:00
2021-04-30 11:16:45 +02:00
2020-09-14 16:50:58 -07:00
2021-02-08 15:13:49 +11:00
2021-05-14 12:52:48 +02:00
2020-09-14 16:50:58 -07:00
2021-01-26 15:04:59 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-10-02 08:50:51 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-12-01 23:19:20 +11:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-06-17 17:17:37 +02:00
2021-06-23 11:50:11 +02:00
2020-09-14 16:50:58 -07:00
2021-05-05 18:23:53 +02:00
2021-04-13 01:54:29 +00:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-05-22 07:13:57 +02:00
2020-11-26 14:15:05 +00:00
2020-09-14 16:50:58 -07:00
2021-02-08 15:13:49 +11:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-11-11 15:59:56 -03:00
2020-11-11 15:59:56 -03:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-29 10:40:56 +10:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-05-22 07:17:01 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2021-05-22 07:17:01 +02:00
2020-09-14 16:50:58 -07:00
2021-05-20 09:52:53 +02:00
2021-04-30 11:16:45 +02:00
2021-01-25 15:28:09 +01:00
2021-02-23 16:45:36 +01:00
2021-05-22 07:13:57 +02:00
2020-11-26 14:15:05 +00:00
2021-07-01 14:59:00 +02:00
2020-09-14 16:50:58 -07:00
2021-01-28 12:18:31 +11:00
2021-02-08 15:13:49 +11:00