John Marshall
297efcd049
Avoid some additional memleakOnRealloc false positives ( #2422 )
...
* Avoid some additional memleakOnRealloc false positives
checkReallocUsage() already contains code to suppress the
`p = realloc(p, size)` error message when the pointer has been
previously copied from another variable (hence there is an additional
copy of the original pointer value) within the same function, as in
the added realloc21() test case.
Extend this so that `p = *pp` and `p = ptr->foo` are also recognized
as copies from another variable with the same original pointer value,
as in the added realloc22() and realloc23() test cases.
* Rewrite as a single findmatch() expression
2019-12-04 12:13:44 +01:00
..
2019-11-27 18:08:10 +03:00
2019-11-09 17:51:42 +01:00
2017-06-05 13:23:00 +02:00
2019-04-23 13:26:48 +02:00
2019-10-25 21:46:02 +02:00
2019-11-06 21:38:01 +01:00
2019-06-29 07:49:14 +02:00
2019-06-29 07:49:14 +02:00
2018-01-14 15:37:52 +01:00
2019-02-09 07:24:06 +01:00
2019-03-09 16:50:50 +01:00
2019-11-28 18:11:55 +03:00
2019-12-01 15:10:02 +01:00
2019-10-06 09:57:31 +02:00
2019-03-09 20:00:31 +01:00
2019-12-02 11:35:51 +01:00
2019-05-01 19:33:47 +02:00
2019-11-10 16:49:34 +01:00
2019-07-31 22:35:51 +02:00
2019-11-16 17:24:54 +01:00
2019-10-09 08:17:47 +02:00
2019-09-20 21:57:16 +02:00
2019-08-18 16:33:32 +02:00
2019-03-16 07:19:48 +01:00
2019-10-14 19:41:32 +02:00
2019-02-09 07:24:06 +01:00
2019-11-22 18:11:38 +03:00
2019-11-19 21:50:53 +01:00
2019-08-17 15:12:49 +02:00
2019-11-28 17:49:33 +01:00
2019-10-04 12:30:11 +02:00
2019-11-20 18:10:56 +03:00
2019-11-10 08:28:46 +01:00
2019-11-13 12:46:54 +01:00
2019-10-16 11:41:33 +02:00
2019-12-04 12:13:44 +01:00
2019-12-03 18:30:52 +01:00
2019-03-26 20:28:40 +01:00
2019-11-18 06:39:50 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-12-03 18:33:05 +01:00
2019-09-19 20:29:33 +02:00
2019-06-29 07:49:14 +02:00
2019-09-19 19:40:00 +02:00
2019-09-19 19:40:00 +02:00
2019-11-19 10:19:13 +03:00
2019-11-29 09:44:27 +01:00
2019-11-08 08:03:45 +01:00
2019-11-01 09:11:29 +01:00
2019-10-08 19:30:41 +02:00
2019-11-01 18:41:10 +03:00
2019-12-01 14:53:03 +01:00
2019-10-20 07:11:57 +02:00
2019-09-19 20:29:33 +02:00
2019-09-26 16:01:01 +02:00
2019-09-25 15:25:19 +02:00
2019-10-30 21:05:42 +01:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2019-11-08 08:03:45 +01:00
2019-12-01 14:53:03 +01:00
2019-02-09 07:24:06 +01:00
2019-09-25 20:16:04 +02:00
2019-11-16 11:47:57 +01:00
2019-09-16 06:34:45 +02:00
2019-07-22 10:26:55 +02:00
2019-11-17 12:08:21 +01:00
2019-09-20 21:57:16 +02:00
2019-03-16 09:17:50 +01:00
2019-11-29 09:45:02 +01:00
2019-10-06 12:45:42 +02:00