Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9986

Fix JSON cursor bug triggered by allocator changes

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A result of modifying the allocator slightly in WT-9950 is that the JSON cursor code broke. See the commented out scenarios in test_jsondump01.py . The old code may be relying on realloced memory being completely cleared. In _wt_json_alloc_unpack, after the call to _wt_realloc_noclear, a fix of doing a memset of 0 may suffice, but we should understand why it needs to be cleared.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: