[riot-commits] [RIOT-OS/RIOT] 490e7c: sys/vfs: Check suggested fd is valid
Sebastian Meiling
s at mlng.net
Mon Feb 12 10:08:09 CET 2018
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: 490e7c87e0378fb22eadfcc0c6d933db04206ae9
https://github.com/RIOT-OS/RIOT/commit/490e7c87e0378fb22eadfcc0c6d933db04206ae9
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: 85125d04ef488d96dd319b552be8632f4c984792
https://github.com/RIOT-OS/RIOT/commit/85125d04ef488d96dd319b552be8632f4c984792
Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M tests/unittests/tests-vfs/tests-vfs-bind.c
Log Message:
-----------
unittests/vfs: Add test for vfs_bind invalid FD argument
Commit: fb8ade23313268c2c60f7933798c2dfa8dc57458
https://github.com/RIOT-OS/RIOT/commit/fb8ade23313268c2c60f7933798c2dfa8dc57458
Author: Sebastian Meiling <s at mlng.net>
Date: 2018-02-12 (Mon, 12 Feb 2018)
Changed paths:
M sys/vfs/vfs.c
M tests/unittests/tests-vfs/tests-vfs-bind.c
Log Message:
-----------
Merge pull request #8546 from gebart/pr/vfs-fd-allocation
sys/vfs: Check suggested fd is valid
Compare: https://github.com/RIOT-OS/RIOT/compare/368818aa23e6...fb8ade233132
More information about the commits
mailing list