https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214881

Konstantin Belousov <k...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ja...@freebsd.org,
                   |                            |k...@freebsd.org

--- Comment #1 from Konstantin Belousov <k...@freebsd.org> ---
(In reply to aler from comment #0)
I suspect that this is just a thinko, the case path == NULL is handled later. 
OTOH, it is not clear to me that path == NULL should result in the '0' addend
to len in the check.

If you do consider the right action to be cleanup, then the failing len check
already provides an example what to do.  Anyway, I am attaching patch with
simple additional check for path == NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to