Project

General

Profile

Bug #6196

ex_pathlen is handled inconsistently

Added by Marcel Telka almost 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
nfs - NFS server and client
Start date:
2015-09-01
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The ex_pathlen member of the exportdata structure sometimes contains the length of the path without the terminating null character (for example in nfs_exportinit() function), and sometimes with the terminating null character (for example in nfs_enable_share() function).

This issue currently does not cause any serious harm, but it still would be nice to have it fixed.

Also available in: Atom PDF