[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invalid memory read access in get_tags_of_indirect_tags_table()
From: |
Gavin Smith |
Subject: |
Re: Invalid memory read access in get_tags_of_indirect_tags_table() |
Date: |
Sat, 21 Jan 2017 20:34:47 +0000 |
On 21 January 2017 at 20:07, Hanno Böck <address@hidden> wrote:
> The attached file will cause an invalid memory read, leading to a
> segfault.
>
> Here's a stack trace from address sanitizer:
> ==2482==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
> 0x0000005460e6 bp 0x7ffd9fec9e30 sp 0x7ffd9fec9c20 T0)
> ==2482==The signal is caused by a READ memory access.
> ==2482==Hint: address points to the zero page.
> #0 0x5460e5 in get_tags_of_indirect_tags_table
> /f/texinfo/trunk/info/nodes.c:461:37
> #1 0x5460e5 in build_tags_and_nodes /f/texinfo/trunk/info/nodes.c:139
> #2 0x549462 in info_load_file /f/texinfo/trunk/info/nodes.c:757:5
> #3 0x548c6d in info_find_file /f/texinfo/trunk/info/nodes.c:667:17
> #4 0x54a593 in info_get_node_with_defaults
> /f/texinfo/trunk/info/nodes.c:990:19
> #5 0x56de62 in dump_node_to_stream /f/texinfo/trunk/info/session.c:3764:10
> #6 0x56db32 in dump_nodes_to_file /f/texinfo/trunk/info/session.c:3727:11
> #7 0x531e19 in main /f/texinfo/trunk/info/info.c:1073:7
> #8 0x7fb742a3078f in __libc_start_main (/lib64/libc.so.6+0x2078f)
> #9 0x41a598 in _start (/old-ram1/texinfo/ginfo+0x41a598)
>
> AddressSanitizer can not provide additional info.
> SUMMARY: AddressSanitizer: SEGV /f/texinfo/trunk/info/nodes.c:461:37 in
> get_tags_of_indirect_tags_table
> ==2482==ABORTING
Thanks, should be fixed now.