Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2011

libbson fuzztest failure

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libbson
    • Labels:
      None

      Seen once:

      ERROR: AddressSanitizer: heap-buffer-overflow
      READ of size 1 at 0x615001d65000 thread T0
          #0 0x4a609c in __asan_memcpy 
          #1 0x7f66a1602f76 in _bson_iter_next_internal src/bson/bson-iter.c:576:11
          #2 0x7f66a1600552 in bson_iter_next src/bson/bson-iter.c:769:11
          #3 0x50e365 in test_bson_iter_fuzz tests/test-iter.c:251:14
      0x615001d65000 is located 0 bytes to the right of 512-byte region
      allocated by thread T0 here:
          #0 0x4bc368 in __interceptor_malloc (.libs/lt-test-libbson+0x4bc368)
          #1 0x7f66a16230be in bson_malloc src/bson/bson-memory.c:68:11
          #2 0x7f66a15eb3e0 in bson_sized_new src/bson/bson.c:1945:23
          #3 0x7f66a15eba3f in bson_new_from_data src/bson/bson.c:1978:11
          #4 0x50e23f in test_bson_iter_fuzz tests/test-iter.c:235:17
      SUMMARY: AddressSanitizer: heap-buffer-overflow  in __asan_memcpy
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: