diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2019-07-12 06:52:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 09:21:44 +0300 |
commit | 8d23872c7539985433f38628d8216ef9320f46ac (patch) | |
tree | efffae825e13789ef3fbc3b64f0ebd557f5430ec /.clang-format | |
parent | 6c550a5db18f29b7336ca295a904b5f1cc7fccbf (diff) | |
download | linux-8d23872c7539985433f38628d8216ef9320f46ac.tar.xz |
scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
[ Upstream commit 31013836a71e07751a6827f9d2ad41ef502ddaff ]
The basepath may contain special characters, which would confuse the regex
matcher. ${var#prefix} does the right thing.
Link: http://lkml.kernel.org/r/20190518055946.181563-1-drinkcat@chromium.org
Fixes: 67a28de47faa8358 ("scripts/decode_stacktrace: only strip base path when a prefix of the path")
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions