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, 20 Aug 2020 19:38:18 +0000 (15:38 -0400)
commit6f1105342bcca0c5ba8177ae134c197c19ba215f
tree19a8a5293dca94e6f628e743afc1952a344152b6
parent882093eef6fdd658833928a62be5d42fc0cdcb00
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.033591 seconds and 4 git commands to generate.