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

Remove uses of bare memory methods and ensure we don't add new ones

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-beta0
    • Affects Version/s: None
    • Component/s: None
    • None

      (Required for Phongo.)

      A quick scan shows:

      .h3 libbson

      yajl stuff uses bare malloc/realloc/free

      .h3 libmongoc

      mongoc-sasl uses bare free and strdup

      They need to not do that. It'd also be nice to have a way to enforce the requirement that we not call out (maybe scan object files for symbol dependencies on malloc, calloc, realloc,free?)

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: