[Bug 213479] Fix ggatec; Return EOPNOTSUPP for operations other than BIO_READ / BIO_WRITE

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Aug 2021 20:53:11 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213479

--- Comment #3 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f5c6c43d4c3910d5f8d61c0fae4582d863baa066

commit f5c6c43d4c3910d5f8d61c0fae4582d863baa066
Author:     Alan Somers <asomers_at_FreeBSD.org>
AuthorDate: 2021-08-27 20:40:05 +0000
Commit:     Alan Somers <asomers_at_FreeBSD.org>
CommitDate: 2021-08-27 20:52:45 +0000

    Add a regression test for ggatec remote code execution

    Tests that ggatec appropriately handles unsupported BIO operations,
    rather than overflowing a buffer.

    Submitted by:   Johannes Bruelltuete <johannes_at_jo-t.de>
    PR:             213479
    Reviewed by:    asomers
    Differential Revision: https://reviews.freebsd.org/D31318

 tests/sys/geom/class/gate/ggate_test.sh | 34 +++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Aug 27 2021 - 20:53:11 UTC

Original text of this message