summaryrefslogtreecommitdiff
path: root/sysctl.h
diff options
context:
space:
mode:
authorNathaniel Ferguson <nathaniel@leapfrog.foundation>2020-05-03 03:18:47 -0400
committerTobias Klauser <tklauser@distanz.ch>2020-05-04 14:12:21 +0200
commita6abd136b78b3d10b7dbae96574a509329bedb16 (patch)
tree546cdb17cb4666fdad589e0ef4e913513a3f0378 /sysctl.h
parent3e69db49e3c0b8e59c80782e6bad3b02336a28d2 (diff)
proto_lldp: prevent accidental out of bounds memory access
Added an integer arithmetic check prior to performing arithmetic to prevent accidental out of bounds memory access. Signed-off-by: Nathaniel Ferguson <nathaniel@leapfrog.foundation> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sysctl.h')
0 files changed, 0 insertions, 0 deletions
odifies the migration thread's affinity, it will not change after that happens. The original code created the thread at the first instance it was called, but later was changed to destroy the thread 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/net/sctp/ulpqueue.h')