[phobos] [dlang/phobos] ac91df: remove bad @trusted annotations from etc.c.curl

GitHub via phobos phobos at puremagic.com
Thu Jun 30 15:30:43 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/dlang/phobos
  Commit: ac91dfef6bcfac9e6e8f1948f2f492317a725f05
      https://github.com/dlang/phobos/commit/ac91dfef6bcfac9e6e8f1948f2f492317a725f05
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M etc/c/curl.d

  Log Message:
  -----------
  remove bad @trusted annotations from etc.c.curl

Functions that take pointer and length separately cannot be memory-safe.
The caller can pass a length that's too large, leading to an out-of-bounds
read.


  Commit: 4fc8959cfcbdfb93d7d635c68ca4402a2eaec591
      https://github.com/dlang/phobos/commit/4fc8959cfcbdfb93d7d635c68ca4402a2eaec591
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M etc/c/curl.d

  Log Message:
  -----------
  Merge pull request #4514 from aG0aep6G/curl-trusted

remove bad @trusted annotations from etc.c.curl


Compare: https://github.com/dlang/phobos/compare/5b02e869979b...4fc8959cfcbd


More information about the phobos mailing list