]> sourceware.org Git - glibc.git/commit
libSegFault: Fix printing signal number [BZ #27249]
authorVitaly Chikunov <vt@altlinux.org>
Mon, 1 Feb 2021 20:04:08 +0000 (23:04 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 1 Feb 2021 20:04:08 +0000 (20:04 +0000)
commitf9be44c7e6d90cb1fe3a0fbe3cc299ac783f0be8
treeb3f7f74875bdc4e60179c4dd3212f9749377174b
parentfd4405747c18463aad98877f277ab5d6eb54f78f
libSegFault: Fix printing signal number [BZ #27249]

Signal number is written into the tail of buf, but printed from the
beginning, outputting garbage on the screen.  Fix this by printing
from the correct position.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
debug/segfault.c
This page took 0.045793 seconds and 5 git commands to generate.