summaryrefslogtreecommitdiff
path: root/curvetun/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-03-02 09:45:10 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-03-02 09:45:10 +0100
commiteacba575c3a740e3d02040657f487a30632d8d71 (patch)
tree2adbaae7f05407dcf1c7feb5feed5f1f529a0726 /curvetun/Makefile
parent4156f1451ac83e0ba1cfa856c86c44af7d30e6f0 (diff)
dev: Fix buffer overflow in device_addr2str()
If the passed buffer is too small to contain an address of length alen (i.e. during fuzzing), we overflow the buffer due to blen being decremented below 0, which gets wrapped around to a really large value when passed as the size argument to snprintf(). Fix it by incorporating the changes to iproute2 ll_addr_n2a() where the issue was fixed in commit f63ed3e62989 ("lib/ll_addr: improve ll_addr_n2a() a bit"). Fixes #170 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun/Makefile')
0 files changed, 0 insertions, 0 deletions
hread after the tracer was finished, and would not be created until the next instance of the tracer was established. The code that initialized the affinity was only called on the initial instantiation of the tracer. After that, it was not initialized, and the previous affinity did not match the current newly created one, making it appear that the user modified the thread's affinity when it did not, and the thread failed to migrate again. Cc: stable@vger.kernel.org Fixes: 0330f7aa8ee6 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/uapi/rdma/ib_user_sa.h')