We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version: 10.46-DEV
system: ubuntu 24.04
git last commit:
commit [[c421b93](https://github.com/PCRE2Project/pcre2/commit/c421b939e7e1e7caf8a3de89b86f8e3fa83317e4)](https://github.com/PCRE2Project/pcre2/commit/c421b939e7e1e7caf8a3de89b86f8e3fa83317e4)(HEAD->master,origin/master,origin/HEAD) Author:NicholasWilson Date:MonFeb1712:34:132025+0000
[[c421b93](https://github.com/PCRE2Project/pcre2/commit/c421b939e7e1e7caf8a3de89b86f8e3fa83317e4)](https://github.com/PCRE2Project/pcre2/commit/c421b939e7e1e7caf8a3de89b86f8e3fa83317e4)
command:./asan_code/pcre2/pcre2test -d ./4_id:000519,sig:11,src:1997567609,op:havoc,rep:2 /dev/null
./asan_code/pcre2/pcre2test -d ./4_id:000519,sig:11,src:1997567609,op:havoc,rep:2 /dev/null
poc: 4_id_000519,sig_11,src_1997567609,op_havoc,rep_2.zip
input:
================================================================= ==57537==ERROR: AddressSanitizer: global-buffer-overflow on address 0x64e9774383d3 at pc 0x64e977268955 bp 0x7fff6f8d7bc0 sp 0x7fff6f8d7bb0 READ of size 1 at 0x64e9774383d3 thread T0 #0 0x64e977268954 in pcre2_printint_8 src/pcre2_printint.c:1123 #1 0x64e977268954 in show_pattern_info src/pcre2test.c:4701 #2 0x64e977240f06 in process_pattern src/pcre2test.c:6358 #3 0x64e977240f06 in main src/pcre2test.c:10197 #4 0x73b83bf0b082 in __libc_start_main ../csu/libc-start.c:308 #5 0x64e977245d1d in _start (/home/lingzhen/asan_code/pcre2/pcre2test+0x26d1d) 0x64e9774383d3 is located 45 bytes to the left of global variable '*.LC809' defined in 'src/pcre2test.c' (0x64e977438400) of size 3 '*.LC809' is ascii string '\G' 0x64e9774383d3 is located 16 bytes to the right of global variable '*.LC808' defined in 'src/pcre2test.c' (0x64e9774383c0) of size 3 '*.LC808' is ascii string '\A' SUMMARY: AddressSanitizer: global-buffer-overflow src/pcre2_printint.c:1123 in pcre2_printint_8 Shadow bytes around the buggy address: 0x0c9daee7f020: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 0x0c9daee7f030: f9 f9 f9 f9 00 01 f9 f9 f9 f9 f9 f9 04 f9 f9 f9 0x0c9daee7f040: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 05 f9 f9 f9 0x0c9daee7f050: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 0x0c9daee7f060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c9daee7f070: 00 05 f9 f9 f9 f9 f9 f9 03 f9[f9]f9 f9 f9 f9 f9 0x0c9daee7f080: 03 f9 f9 f9 f9 f9 f9 f9 03 f9 f9 f9 f9 f9 f9 f9 0x0c9daee7f090: 03 f9 f9 f9 f9 f9 f9 f9 03 f9 f9 f9 f9 f9 f9 f9 0x0c9daee7f0a0: 03 f9 f9 f9 f9 f9 f9 f9 03 f9 f9 f9 f9 f9 f9 f9 0x0c9daee7f0b0: 03 f9 f9 f9 f9 f9 f9 f9 03 f9 f9 f9 f9 f9 f9 f9 0x0c9daee7f0c0: 03 f9 f9 f9 f9 f9 f9 f9 03 f9 f9 f9 f9 f9 f9 f9 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==57537==ABORTING
The text was updated successfully, but these errors were encountered:
Fix test-only bug in pcre2_printint
878e2d7
Fixes #725, #726, #727 Found by YinChen001 <[email protected]>
No branches or pull requests
version: 10.46-DEV
system: ubuntu 24.04
git last commit:
command:
./asan_code/pcre2/pcre2test -d ./4_id:000519,sig:11,src:1997567609,op:havoc,rep:2 /dev/null
poc: 4_id_000519,sig_11,src_1997567609,op_havoc,rep_2.zip
input:
The text was updated successfully, but these errors were encountered: