Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-750

unit.pfs_instr-oom fails on mac with dynamic-stack-overflow

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 3.1.26
    • None
    • None

    Description

      =================================================================
      ==87338==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x00016fba8000 at pc 0x000100256f58 bp 0x00016fba6fd0 sp 0x00016fba6fc8
      WRITE of size 1 at 0x00016fba8000 thread T0
          #0 0x000100256f54 in mariadb_get_install_location mariadb_config.c:183
          #1 0x0001002567fc in main mariadb_config.c:239
          #2 0x00018a384270  (<unknown module>)
       
      Address 0x00016fba8000 is located in stack of thread T0
      SUMMARY: AddressSanitizer: dynamic-stack-buffer-overflow mariadb_config.c:183 in mariadb_get_install_location
      Shadow bytes around the buggy address:
        0x00016fba7d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba7e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba7f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      =>0x00016fba8000:[cb]cb cb cb f1 f1 f1 f1 00 00 00 00 00 00 00 00
        0x00016fba8080: 00 00 00 00 00 00 00 00 00 00 f2 f2 f2 f2 f2 f2
        0x00016fba8100: f2 f2 04 f3 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba8180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba8200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        0x00016fba8280: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f8 f3 f3 f3
      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
      ==87338==ABORTING
      

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              Gosselin Dave Gosselin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.