summaryrefslogtreecommitdiff
path: root/kernel/module/tracking.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-05-22 06:09:58 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-05-22 06:09:58 -0700
commit23884007afe901352349e709e33eb19373a842d7 (patch)
treee698633fffae9e8d69b3f459bc0d07e1896e4d06 /kernel/module/tracking.c
parent6779b50faa562e6cca1aa6a4649a4d764c6c7e28 (diff)
parent8f0f5c4fb9df0e19a341e0c6ed8dc4fda9124f03 (diff)
Merge tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt: - Avoid NULL return from hist_field_name() The function hist_field_name() is directly passed to a strcat() which does not handle "NULL" characters. Return a zero length string when size is greater than the limit. This is used only to output already created histograms and no field currently is greater than the limit. But it should still not return NULL. - Do not call map->ops->elt_free() on allocation failure When elt_alloc() fails, it should not call the map->ops->elt_free() function if it exists, as that function may not be able to handle the free on allocation failures. The ->elt_free() should only be called when elt_alloc() succeeds. * tag 'trace-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tracing: Do not call map->ops->elt_free() if elt_alloc() fails tracing: Avoid NULL return from hist_field_name() on truncation
Diffstat (limited to 'kernel/module/tracking.c')
0 files changed, 0 insertions, 0 deletions