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

buffer overflow detected #77

Open
eric-sy2377 opened this issue Jul 23, 2018 · 0 comments
Open

buffer overflow detected #77

eric-sy2377 opened this issue Jul 23, 2018 · 0 comments

Comments

@eric-sy2377
Copy link

检查SQL:
update cl_order_status_mapping set cust_show_name = '等待' where workflow_type = 'self_support_new_car_order_loan_middle' and status_code = 'PHONE_AUDIT_DATA_UPLOAD';

直接崩溃
*** buffer overflow detected ***: /home/scops/master/souche/sql/Inception terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7faaa05c67e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7faaa066815c]
/lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7faaa0666160]
/lib/x86_64-linux-gnu/libc.so.6(+0x1164b2)[0x7faaa06654b2]
/home/scops/master/souche/sql/Inception(Z22mysql_get_explain_infoP3THDP8st_mysqlPcPP19explain_info_structiS3+0x3f2)[0x5f5e82]
/home/scops/master/souche/sql/Inception(_Z34mysql_explain_or_analyze_statementP3THDP17table_info_struct+0x21e)[0x606b6e]
/home/scops/master/souche/sql/Inception(_Z18mysql_check_updateP3THD+0xb6)[0x606f26]
/home/scops/master/souche/sql/Inception(_Z11mysql_parseP3THDjP12Parser_state+0x272)[0x611482]
/home/scops/master/souche/sql/Inception(_Z16dispatch_command19enum_server_commandP3THDPcj+0x4e9)[0x611a09]
/home/scops/master/souche/sql/Inception(_Z24do_handle_one_connectionP3THD+0x2f4)[0x5d50e4]
/home/scops/master/souche/sql/Inception(handle_one_connection+0x9)[0x5d5109]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7faaa11c16ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7faaa065641d]
======= Memory map: ========
00400000-00b19000 r-xp 00000000 fd:10 8392632 /home/scops/master/souche/sql/Inception
00d18000-00d1d000 r--p 00718000 fd:10 8392632 /home/scops/master/souche/sql/Inception
00d1d000-00e05000 rw-p 0071d000 fd:10 8392632 /home/scops/master/souche/sql/Inception
00e05000-00e1c000 rw-p 00000000 00:00 0
02cbc000-02d0f000 rw-p 00000000 00:00 0 [heap]
7faa90000000-7faa90021000 rw-p 00000000 00:00 0
7faa90021000-7faa94000000 ---p 00000000 00:00 0
7faa98000000-7faa98021000 rw-p 00000000 00:00 0
7faa98021000-7faa9c000000 ---p 00000000 00:00 0
7faa9f71a000-7faa9f731000 r-xp 00000000 fd:01 1180250 /lib/x86_64-linux-gnu/libresolv-2.23.so
7faa9f731000-7faa9f931000 ---p 00017000 fd:01 1180250 /lib/x86_64-linux-gnu/libresolv-2.23.so
7faa9f931000-7faa9f932000 r--p 00017000 fd:01 1180250 /lib/x86_64-linux-gnu/libresolv-2.23.so
7faa9f932000-7faa9f933000 rw-p 00018000 fd:01 1180250 /lib/x86_64-linux-gnu/libresolv-2.23.so
7faa9f933000-7faa9f935000 rw-p 00000000 00:00 0
7faa9f935000-7faa9f93a000 r-xp 00000000 fd:01 1190688 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7faa9f93a000-7faa9fb3a000 ---p 00005000 fd:01 1190688 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7faa9fb3a000-7faa9fb3b000 r--p 00005000 fd:01 1190688 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7faa9fb3b000-7faa9fb3c000 rw-p 00006000 fd:01 1190688 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7faa9fb3c000-7faa9fb47000 r-xp 00000000 fd:01 1190691 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7faa9fb47000-7faa9fd46000 ---p 0000b000 fd:01 1190691 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7faa9fd46000-7faa9fd47000 r--p 0000a000 fd:01 1190691 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7faa9fd47000-7faa9fd48000 rw-p 0000b000 fd:01 1190691 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7faa9fd48000-7faa9fd4e000 rw-p 00000000 00:00 0
7faa9fd4e000-7faa9fd4f000 ---p 00000000 00:00 0
7faa9fd4f000-7faaa054f000 rw-p 00000000 00:00 0
7faaa054f000-7faaa070f000 r-xp 00000000 fd:01 1180177 /lib/x86_64-linux-gnu/libc-2.23.so
7faaa070f000-7faaa090f000 ---p 001c0000 fd:01 1180177 /lib/x86_64-linux-gnu/libc-2.23.so
7faaa090f000-7faaa0913000 r--p 001c0000 fd:01 1180177 /lib/x86_64-linux-gnu/libc-2.23.so
7faaa0913000-7faaa0915000 rw-p 001c4000 fd:01 1180177 /lib/x86_64-linux-gnu/libc-2.23.so
7faaa0915000-7faaa0919000 rw-p 00000000 00:00 0
7faaa0919000-7faaa092f000 r-xp 00000000 fd:01 1180169 /lib/x86_64-linux-gnu/libgcc_s.so.1
7faaa092f000-7faaa0b2e000 ---p 00016000 fd:01 1180169 /lib/x86_64-linux-gnu/libgcc_s.so.1
7faaa0b2e000-7faaa0b2f000 rw-p 00015000 fd:01 1180169 /lib/x86_64-linux-gnu/libgcc_s.so.1
7faaa0b2f000-7faaa0c37000 r-xp 00000000 fd:01 1180137 /lib/x86_64-linux-gnu/libm-2.23.so
7faaa0c37000-7faaa0e36000 ---p 00108000 fd:01 1180137 /lib/x86_64-linux-gnu/libm-2.23.so
7faaa0e36000-7faaa0e37000 r--p 00107000 fd:01 1180137 /lib/x86_64-linux-gnu/libm-2.23.so
7faaa0e37000-7faaa0e38000 rw-p 00108000 fd:01 1180137 /lib/x86_64-linux-gnu/libm-2.23.so
7faaa0e38000-7faaa0faa000 r-xp 00000000 fd:01 264523 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7faaa0faa000-7faaa11aa000 ---p 00172000 fd:01 264523 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7faaa11aa000-7faaa11b4000 r--p 00172000 fd:01 264523 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7faaa11b4000-7faaa11b6000 rw-p 0017c000 fd:01 264523 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7faaa11b6000-7faaa11ba000 rw-p 00000000 00:00 0
7faaa11ba000-7faaa11d2000 r-xp 00000000 fd:01 1180171 /lib/x86_64-linux-gnu/libpthread-2.23.so
7faaa11d2000-7faaa13d1000 ---p 00018000 fd:01 1180171 /lib/x86_64-linux-gnu/libpthread-2.23.so
7faaa13d1000-7faaa13d2000 r--p 00017000 fd:01 1180171 /lib/x86_64-linux-gnu/libpthread-2.23.so
7faaa13d2000-7faaa13d3000 rw-p 00018000 fd:01 1180171 /lib/x86_64-linux-gnu/libpthread-2.23.so
7faaa13d3000-7faaa13d7000 rw-p 00000000 00:00 0
7faaa13d7000-7faaa13da000 r-xp 00000000 fd:01 1180190 /lib/x86_64-linux-gnu/libdl-2.23.so
7faaa13da000-7faaa15d9000 ---p 00003000 fd:01 1180190 /lib/x86_64-linux-gnu/libdl-2.23.so
7faaa15d9000-7faaa15da000 r--p 00002000 fd:01 1180190 /lib/x86_64-linux-gnu/libdl-2.23.so
7faaa15da000-7faaa15db000 rw-p 00003000 fd:01 1180190 /lib/x86_64-linux-gnu/libdl-2.23.so
7faaa15db000-7faaa15e4000 r-xp 00000000 fd:01 1190697 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7faaa15e4000-7faaa17e3000 ---p 00009000 fd:01 1190697 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7faaa17e3000-7faaa17e4000 r--p 00008000 fd:01 1190697 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7faaa17e4000-7faaa17e5000 rw-p 00009000 fd:01 1190697 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7faaa17e5000-7faaa1813000 rw-p 00000000 00:00 0
7faaa1813000-7faaa1839000 r-xp 00000000 fd:01 1180160 /lib/x86_64-linux-gnu/ld-2.23.so
7faaa19a7000-7faaa19a8000 ---p 00000000 00:00 0
7faaa19a8000-7faaa19e8000 rw-p 00000000 00:00 0
7faaa19e8000-7faaa19e9000 ---p 00000000 00:00 0
7faaa19e9000-7faaa1a30000 rw-p 00000000 00:00 0
7faaa1a37000-7faaa1a38000 rw-p 00000000 00:00 0
7faaa1a38000-7faaa1a39000 r--p 00025000 fd:01 1180160 /lib/x86_64-linux-gnu/ld-2.23.so
7faaa1a39000-7faaa1a3a000 rw-p 00026000 fd:01 1180160 /lib/x86_64-linux-gnu/ld-2.23.so
7faaa1a3a000-7faaa1a3b000 rw-p 00000000 00:00 0
7ffc190db000-7ffc190fc000 rw-p 00000000 00:00 0 [stack]
7ffc19196000-7ffc19198000 r--p 00000000 00:00 0 [vvar]
7ffc19198000-7ffc1919a000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

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

1 participant