Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEGV src/pcre2_printint.c:391 in print_char_list_8 #726

Closed
YinChen001 opened this issue Mar 12, 2025 · 0 comments
Closed

SEGV src/pcre2_printint.c:391 in print_char_list_8 #726

YinChen001 opened this issue Mar 12, 2025 · 0 comments

Comments

@YinChen001
Copy link

YinChen001 commented Mar 12, 2025

version: 10.46-DEV

system: ubuntu 24.04

git last commit:

commit [c421b93](https://github.com/PCRE2Project/pcre2/commit/c421b939e7e1e7caf8a3de89b86f8e3fa83317e4)(HEAD->master,origin/master,origin/HEAD)
Author:NicholasWilson
Date:MonFeb1712:34:132025+0000

command:./asan_code/pcre2/pcre2test -d ./4_id:000449,sig:11,src:162855270+022150,op:splice,rep:2 /dev/null

poc: 4_id_000449,sig_11,src_162855270+022150,op_splice,rep_2.zip

input:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==57536==ERROR: AddressSanitizer: SEGV on unknown address 0x616fffff1602 (pc 0x56934963b7d0 bp 0x616fffff1606 sp 0x7ffff3f0efc0 T0)
==57536==The signal is caused by a READ memory access.
    #0 0x56934963b7cf in print_char_list_8 src/pcre2_printint.c:391
    #1 0x56934963b7cf in print_class_8 src/pcre2_printint.c:578
    #2 0x56934964e7a7 in pcre2_printint_8 src/pcre2_printint.c:1054
    #3 0x56934964e7a7 in show_pattern_info src/pcre2test.c:4701
    #4 0x56934962cf06 in process_pattern src/pcre2test.c:6358
    #5 0x56934962cf06 in main src/pcre2test.c:10197
    #6 0x7b14636f1082 in __libc_start_main ../csu/libc-start.c:308
    #7 0x569349631d1d in _start (/home/lingzhen/asan_code/pcre2/pcre2test+0x26d1d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV src/pcre2_printint.c:391 in print_char_list_8
==57536==ABORTING
NWilson added a commit that referenced this issue Mar 13, 2025
@NWilson NWilson closed this as completed Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants