Skip to content

Instantly share code, notes, and snippets.

@gahr
Created June 16, 2021 14:04
Show Gist options
  • Select an option

  • Save gahr/597a5ce1c91e5b4cf01af32b54c242e5 to your computer and use it in GitHub Desktop.

Select an option

Save gahr/597a5ce1c91e5b4cf01af32b54c242e5 to your computer and use it in GitHub Desktop.
==48869==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61d00001535a at pc 0x00000054e924 bp 0x7fffffff06f0 sp 0x7fffffff06e8
READ of size 2 at 0x61d00001535a thread T0
#0 0x54e923 in display_line /usr/home/gahr/github/neomutt/pager/dlg_pager.c:1904:64
#1 0x54835b in pager_custom_redraw /usr/home/gahr/github/neomutt/pager/dlg_pager.c:2143:13
#2 0x531d36 in mutt_pager /usr/home/gahr/github/neomutt/pager/dlg_pager.c:2522:5
#3 0x3cf8ec in mutt_display_message /usr/home/gahr/github/neomutt/commands.c:394:10
#4 0x50d1d3 in mutt_index_menu /usr/home/gahr/github/neomutt/index/dlg_index.c:2663:14
#5 0x46f2e9 in main /usr/home/gahr/github/neomutt/main.c:1258:7
0x61d00001535a is located 10 bytes to the right of 2256-byte region [0x61d000014a80,0x61d000015350)
allocated by thread T0 here:
#0 0x387fe2 in calloc /wrkdirs/usr/ports/devel/llvm90/work/compiler-rt-9.0.1.src/lib/asan/asan_malloc_linux.cc:154:3
#1 0x84c7bf in mutt_mem_calloc /usr/home/gahr/github/neomutt/mutt/memory.c:55:13
#2 0x53018b in mutt_pager /usr/home/gahr/github/neomutt/pager/dlg_pager.c:2440:21
#3 0x3cf8ec in mutt_display_message /usr/home/gahr/github/neomutt/commands.c:394:10
#4 0x50d1d3 in mutt_index_menu /usr/home/gahr/github/neomutt/index/dlg_index.c:2663:14
#5 0x46f2e9 in main /usr/home/gahr/github/neomutt/main.c:1258:7
#6 0x3310ff in _start /usr/src/lib/csu/amd64/crt1_c.c:75:7
#7 0x80088c007 (<unknown module>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment