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>
Wed, 9 Sep 2020 19:05:35 +0000 (15:05 -0400)
commit978644d78122d6ece6f98f2ae3f365aa3e8cb929
treec308853ad02f6318ddfeea15c9cf0e79b3df1607
parente8d3e76f29badb889f96a7203d51372fed60714c
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.0255 seconds and 4 git commands to generate.