Fix bugs discovered by structured fuzz testing.
See 'tools/ocaml/xenstored: structured fuzz testing' series for the tests.
These have been discovered while testing the XSA fixes, but they are not security related.
For convenience here is a tree with all patch series applied:
https://github.com/edwintorok/xen/pull/1
Edwin Török (4):
tools/ocaml/libs/xb: do not crash after xenbus is unmapped
tools/ocaml/xenstored: fix quota calculation for mkdir EEXIST
tools/ocaml/xenstored: reject invalid watch paths early
tools/ocaml/xenstored: mkdir conflicts were sometimes missed
tools/ocaml/libs/xb/xs_ring_stubs.c | 3 +++
tools/ocaml/xenstored/connection.ml | 5 ++---
tools/ocaml/xenstored/connections.ml | 4 +++-
tools/ocaml/xenstored/store.ml | 1 +
tools/ocaml/xenstored/transaction.ml | 2 +-
5 files changed, 10 insertions(+), 5 deletions(-)
--
2.29.2
See 'tools/ocaml/xenstored: structured fuzz testing' series for the tests.
These have been discovered while testing the XSA fixes, but they are not security related.
For convenience here is a tree with all patch series applied:
https://github.com/edwintorok/xen/pull/1
Edwin Török (4):
tools/ocaml/libs/xb: do not crash after xenbus is unmapped
tools/ocaml/xenstored: fix quota calculation for mkdir EEXIST
tools/ocaml/xenstored: reject invalid watch paths early
tools/ocaml/xenstored: mkdir conflicts were sometimes missed
tools/ocaml/libs/xb/xs_ring_stubs.c | 3 +++
tools/ocaml/xenstored/connection.ml | 5 ++---
tools/ocaml/xenstored/connections.ml | 4 +++-
tools/ocaml/xenstored/store.ml | 1 +
tools/ocaml/xenstored/transaction.ml | 2 +-
5 files changed, 10 insertions(+), 5 deletions(-)
--
2.29.2