diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-24 14:02:03 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-07-29 12:47:28 +0100 |
commit | 5a0821e0e369b7c1d65bd10251fe42c7a55d74d5 (patch) | |
tree | 22602959dc6c5ab96af6166d45f34df2af999222 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 971ddd4b4db605191fed2b1d13612f3bbf3195b3 (diff) |
iio: core: Switch to krealloc_array()
Let the krealloc_array() copy the original data and
check for a multiplication overflow.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230724110204.46285-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions