[riot-commits] [RIOT-OS/RIOT] 91caba: sys/vfs: Check suggested fd is valid

Sebastian Meiling s at mlng.net
Mon Feb 12 10:08:14 CET 2018


  Branch: refs/heads/2018.01-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 91caba7dee6c3cdd3a356f74a8af8e37bb649ef1
      https://github.com/RIOT-OS/RIOT/commit/91caba7dee6c3cdd3a356f74a8af8e37bb649ef1
  Author: Joakim NohlgÄrd <joakim.nohlgard at eistec.se>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M sys/vfs/vfs.c

  Log Message:
  -----------
  sys/vfs: Check suggested fd is valid

Avoids out of bounds array access on _vfs_open_files if vfs_bind is
called with an invalid (positive) fd number


  Commit: 3fc3f439b9312b11647b0e39eb8ba6f1fd323236
      https://github.com/RIOT-OS/RIOT/commit/3fc3f439b9312b11647b0e39eb8ba6f1fd323236
  Author: Sebastian Meiling <s at mlng.net>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M sys/vfs/vfs.c

  Log Message:
  -----------
  Merge pull request #8547 from gebart/bp/vfs-fd-allocation

sys/vfs: Check suggested fd is valid (2018.01 backport)


Compare: https://github.com/RIOT-OS/RIOT/compare/7e079668b8e3...3fc3f439b931


More information about the commits mailing list