Skip to content

Two hardening fixes for junction handling

Scott Mayhew linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2junction: fix buffer over-read in junction_parse_xml_read()support/junction/junction.c+2 -11 reply
2/2junction: fix use-after-free in locations_to_fslocdata()support/export/cache.c+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [nfs-utils PATCH 0/2] Two hardening fixes for junction handling

The first patch fixes a buffer overrun in junction_parse_xml_read() and the second fixes a use-after-free when parsing multi-location junctions in locations_to_fslocdata().

Scott Mayhew (2):
junction: fix buffer over-read in junction_parse_xml_read()
junction: fix use-after-free in locations_to_fslocdata()

 support/export/cache.c      | 6 ++++++
 support/junction/junction.c | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
2.55.0