segiddins / segiddins.me

http://segiddins.me/
0 stars 0 forks source link

[Security] Bump ffi from 1.9.8 to 1.15.0 #41

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps ffi from 1.9.8 to 1.15.0. This update includes a security fix.

Vulnerabilities fixed

Sourced from The Ruby Advisory Database.

ruby-ffi DDL loading issue on Windows OS ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.

Patched versions: >= 1.9.24 Unaffected versions: none

Changelog

Sourced from ffi's changelog.

1.15.0 / 2021-03-05

Fixed:

  • Fix MSVC build
  • Fix async callbacks in conjunction with fork(). #884

Added:

  • Allow to pass callbacks in varargs. #885
  • Name the threads for FFI callback dispatcher and async thread calls for easier debugging. #883 The name can be retrieved by Thread.name and is shown by Thread.list.inspect etc. Even gdb shows the thread name on supported operating systems.
  • Add types.conf for powerpc64le-linux
  • Add types.conf for riscv64-linux
  • More release automation of ffi gems

Changed:

  • Switch from rubygems-tasks to bundler/gem_helper

Removed:

  • Remove unused VariadicInvoker#init

1.14.2 / 2020-12-21

Fixed:

  • Fix builtin libffi on newer Ubuntu caused by an outdated Makefile.in . #863

1.14.1 / 2020-12-19

Changed:

  • Revert changes to FFI::Pointer#write_string made in ffi-1.14.0. It breaks compatibilty in a way that can cause hard to find errors. #857

1.14.0 / 2020-12-18

Added:

  • Add types.conf for x86_64-msys, x86_64-haiku, aarch64-openbsd and aarch64-darwin (alias arm64-darwin)
  • Add method AbstractMemory#size_limit? . #829
  • Add new extconf option --enable-libffi-alloc which is enabled per default on Apple M1 (arm64-darwin).

Changed:

  • Do NULL pointer check only when array length > 0 . #305
  • Raise an error on an unknown order argument. #830
  • Change FFI::Pointer#write_string to terminate with a NUL byte like other string methods. #805

... (truncated)

Commits
  • 1fb309c Use platform name as used by rubygems
  • 05537c7 Merge pull request #888 from larskanis/async-callback-with-fork
  • df39cc6 Fix async callbacks in conjunction with fork()
  • ea13267 Prepare ffi-1.15.0
  • 1a87af0 Replace rubygems-tasks by bundler and do more release automation
  • 334c3af Use shorter thread names for FFI's callbacks
  • 1cce06d Merge branch 'name-dispatcher-thread' of https://github.com/DataDog/ffi into ...
  • c48dfe7 Implement async callback test on Windows and improve async specs
  • 6d14c0a Separate double callback spec and variadic call with function pointer
  • 57bcc60 Remove unused VariadicInvoker#init
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #44.