Fix: memcpy used on potentially overlapping regions
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Aug 2020 19:38:18 +0000 (15:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 10 Sep 2020 16:13:44 +0000 (12:13 -0400)
commit8a5422a0a990db34189f2c159820e36e0ace7dd1
treed2191b7dd9cb0d7f29942b208504e397f2d93d22
parent4ff45c64c1ef980d3de6a849494d9e63b1ba2544
Fix: memcpy used on potentially overlapping regions

Caught by reviewing unrelated code, these two uses of memcpy
can operate on overlapping buffers. I checked all other uses
of "raw" memcpy and those appear safe.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I72b1204bc52a92015042adb6a67b022d140f5b4e
src/bin/lttng-sessiond/notification-thread-events.c
src/common/utils.c
This page took 0.024704 seconds and 4 git commands to generate.