diff options
author | Alexander Potapenko <glider@google.com> | 2016-04-29 01:19:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-29 04:34:04 +0200 |
commit | 33334e25769c6ad69b983379578f42581d99a2f9 (patch) | |
tree | 2155c46b6af3bb6a37909cdb74cb94b4bf071124 /Documentation/sysctl | |
parent | rapidio: fix potential NULL pointer dereference (diff) | |
download | linux-33334e25769c6ad69b983379578f42581d99a2f9.tar.xz linux-33334e25769c6ad69b983379578f42581d99a2f9.zip |
lib/stackdepot.c: allow the stack trace hash to be zero
Do not bail out from depot_save_stack() if the stack trace has zero hash.
Initially depot_save_stack() silently dropped stack traces with zero
hashes, however there's actually no point in reserving this zero value.
Reported-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl')
0 files changed, 0 insertions, 0 deletions