Do not use new Buffer in bson@1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-1.1.1
    • Affects Version/s: 3.1.10
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      bson@1 uses the deprecated new Buffer() constructor.

      This are a) a security risk and b) slower on 10+.

       

      I would recommend to switch to safe-buffer and use the new methods

              Assignee:
              Daniel Aprahamian (Inactive)
              Reporter:
              Matteo Collina
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: