Giter Club home page Giter Club logo

oshean's People

Contributors

alimkoca avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

oshean's Issues

Heap Buffer Overflow std.h:13

=================================================================
==16382==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6070000017a0 at pc 0x7fea1e1af725 bp 0x7ffc18d2ba30 sp 0x7ffc18d2b1c0
=================================================================
WRITE of size 94 at 0x6070000017a0 thread T0
==16386==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6070000017a0 at pc 0x7fea1e1af725 bp 0x7ffc18d2ba30 sp 0x7ffc18d2b1c0
WRITE of size 94 at 0x6070000017a0 thread T0
    #0 0x7fea1e1af724 in __interceptor_vsprintf ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1627
    #0 0x7fea1e1af724 in __interceptor_vsprintf ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1627
    #1 0x7fea1e1afbde in __interceptor_sprintf ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1670
    #1 0x7fea1e1afbde in __interceptor_sprintf ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1670
    #2 0x55cef9f46c65 in cmd_exec_oshean /home/alim/Yazılım/oshean/cmd.c:50
    #2 0x55cef9f46c65 in cmd_exec_oshean /home/alim/Yazılım/oshean/cmd.c:50
    #3 0x55cef9f4728e in spawn_oshean /home/alim/Yazılım/oshean/sh.c:70
    #3 0x55cef9f4728e in spawn_oshean /home/alim/Yazılım/oshean/sh.c:70
    #4 0x55cef9f4733a in main /home/alim/Yazılım/oshean/main.c:8
    #4 0x55cef9f4733a in main /home/alim/Yazılım/oshean/main.c:8
    #5 0x7fea1df43082 in __libc_start_main ../csu/libc-start.c:308
    #5 0x7fea1df43082 in __libc_start_main ../csu/libc-start.c:308
    #6 0x55cef9f3e92d in _start (/home/alim/Yazılım/oshean/oshean+0x392d)
    #6 0x55cef9f3e92d in _start (/home/alim/Yazılım/oshean/oshean+0x392d)


0x6070000017a0 is located 0 bytes to the right of 80-byte region [0x607000001750,0x6070000017a0)
0x6070000017a0 is located 0 bytes to the right of 80-byte region [0x607000001750,0x6070000017a0)
allocated by thread T0 here:
allocated by thread T0 here:
    #0 0x7fea1e21e808 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
    #1 0x55cef9f46ac4 in cmd_exec_oshean /home/alim/Yazılım/oshean/cmd.c:15
    #0 0x7fea1e21e808 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:144
    #2 0x55cef9f4728e in spawn_oshean /home/alim/Yazılım/oshean/sh.c:70
    #1 0x55cef9f46ac4 in cmd_exec_oshean /home/alim/Yazılım/oshean/cmd.c:15
    #3 0x55cef9f4733a in main /home/alim/Yazılım/oshean/main.c:8
    #2 0x55cef9f4728e in spawn_oshean /home/alim/Yazılım/oshean/sh.c:70
    #4 0x7fea1df43082 in __libc_start_main ../csu/libc-start.c:308
    #3 0x55cef9f4733a in main /home/alim/Yazılım/oshean/main.c:8

    #4 0x7fea1df43082 in __libc_start_main ../csu/libc-start.c:308

SUMMARY: AddressSanitizer: heap-buffer-overflow ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1627 in __interceptor_vsprintf
SUMMARY: AddressSanitizer: heap-buffer-overflow ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:1627 in __interceptor_vsprintf
Shadow bytes around the buggy address:
  0x0c0e7fff82a0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fa fa
  0x0c0e7fff82b0: fa fa fd fd fd fd fd fd fd fd fd fd fa fa fa fa
  0x0c0e7fff82c0: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fd fd
  0x0c0e7fff82d0: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x0c0e7fff82e0: fd fd fd fd fd fd fa fa fa fa 00 00 00 00 00 00
=>0x0c0e7fff82f0: 00 00 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8310: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8320: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8330: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8340: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
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
Shadow bytes around the buggy address:
  0x0c0e7fff82a0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fa fa
  0x0c0e7fff82b0: fa fa fd fd fd fd fd fd fd fd fd fd fa fa fa fa
  0x0c0e7fff82c0: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fd fd
  0x0c0e7fff82d0: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
  0x0c0e7fff82e0: fd fd fd fd fd fd fa fa fa fa 00 00 00 00 00 00
=>0x0c0e7fff82f0: 00 00 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8310: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8320: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8330: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c0e7fff8340: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
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
==16382==ABORTING
==16386==ABORTING

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.