Skip to content

libtirpc and nfs-utils fix for export lucid context

Simo Sorce linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 3 repliesIn review

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2Fix double free when exporting lucid contextutils/gssd/context.c utils/gssd/context.h utils/gssd/context_heimdal.c +4 more+12 -121 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] libtirpc and nfs-utils fix for export lucid context

The following 2 patches go in tandem.
One is for libtirpc and the other for nfs-utils.

The standard gss_krb5_export_lucid_sec_context call actually deletes the gss context after it has been exported, so these patches perform a complete hand over of the context from libtirpc, so that the context handle can be nulled out in the gss_krb5_export_lucid_sec_context and the code does not attempt to free it twice and cause segmentation faults in the unlucky case.

Simo Sorce