zoukankan      html  css  js  c++  java
  • *** buffer overflow detected ***

    administrator@ubuntu:~/http_load$ ./http_load -p 1021 -s 10 url
    *** buffer overflow detected ***: ./http_load terminated

    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f8b1248c08c]
    /lib/x86_64-linux-gnu/libc.so.6(+0x111020)[0x7f8b1248b020]
    /lib/x86_64-linux-gnu/libc.so.6(+0x111fd7)[0x7f8b1248bfd7]
    ./http_load[0x403990]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f8b1239bde5]
    ./http_load[0x401069]
    ======= Memory map: ========
    00400000-00406000 r-xp 00000000 07:00 949212                             /home/administrator/http_load/http_load
    00605000-00606000 r--p 00005000 07:00 949212                             /home/administrator/http_load/http_load
    00606000-00607000 rw-p 00006000 07:00 949212                             /home/administrator/http_load/http_load
    00607000-00608000 rw-p 00000000 00:00 0
    00c20000-00c41000 rw-p 00000000 00:00 0                                  [heap]
    7f8b11f57000-7f8b11f6c000 r-xp 00000000 07:00 652902                     /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f8b11f6c000-7f8b1216b000 ---p 00015000 07:00 652902                     /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f8b1216b000-7f8b1216c000 r--p 00014000 07:00 652902                     /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f8b1216c000-7f8b1216d000 rw-p 00015000 07:00 652902                     /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f8b1216d000-7f8b12179000 r-xp 00000000 07:00 657189                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
    7f8b12179000-7f8b12378000 ---p 0000c000 07:00 657189                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
    7f8b12378000-7f8b12379000 r--p 0000b000 07:00 657189                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
    7f8b12379000-7f8b1237a000 rw-p 0000c000 07:00 657189                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
    7f8b1237a000-7f8b12537000 r-xp 00000000 07:00 657113                     /lib/x86_64-linux-gnu/libc-2.17.so
    7f8b12537000-7f8b12737000 ---p 001bd000 07:00 657113                     /lib/x86_64-linux-gnu/libc-2.17.so
    7f8b12737000-7f8b1273b000 r--p 001bd000 07:00 657113                     /lib/x86_64-linux-gnu/libc-2.17.so
    7f8b1273b000-7f8b1273d000 rw-p 001c1000 07:00 657113                     /lib/x86_64-linux-gnu/libc-2.17.so
    7f8b1273d000-7f8b12742000 rw-p 00000000 00:00 0
    7f8b12742000-7f8b12765000 r-xp 00000000 07:00 657089                     /lib/x86_64-linux-gnu/ld-2.17.so
    7f8b1291f000-7f8b1294a000 rw-p 00000000 00:00 0
    7f8b12960000-7f8b12964000 rw-p 00000000 00:00 0
    7f8b12964000-7f8b12965000 r--p 00022000 07:00 657089                     /lib/x86_64-linux-gnu/ld-2.17.so
    7f8b12965000-7f8b12967000 rw-p 00023000 07:00 657089                     /lib/x86_64-linux-gnu/ld-2.17.so
    7fff7e7ef000-7fff7e810000 rw-p 00000000 00:00 0                          [stack]
    7fff7e931000-7fff7e933000 r-xp 00000000 00:00 0                          [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
    已放弃 (核心已转储)

    solution?:

    sudo apt-get intall gcc-4.4

  • 相关阅读:
    &【12】Python 函数
    &【11】Python 流程控制
    &【09】Python 数据类型之dictionary
    &【07】Python 数据类型之元组
    &【08】Python 数据类型之set
    &【06】Python 数据类型之list
    &【05】Python 彻底搞懂分片操作
    &【04】Python 数据结构之序列
    SpringBoot-HelloWorld(三)
    SpringBoot-了解微服务(二)
  • 原文地址:https://www.cnblogs.com/lfzark/p/3878813.html
Copyright © 2011-2022 走看看