[PATCH 0/3] nfs-utils: fix memory usage problems in gssd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset fixes a compiler warning and some problems noticed while
running gssd under valgrind. With this, valgrind now reports no warnings
or significant memory leaks when run under a simple test that repeatedly
mounts and unmounts an export with sec=krb5.

Jeff Layton (3):
  nfs-utils: initialize fakeseed in prepare_krb5_rfc1964_buffer
  nfs-utils: NULL-terminate buffer after read in read_service_info
  nfs-utils: free buffer allocated by gssd_k5_err_msg

 utils/gssd/context_heimdal.c |   25 ++++++----
 utils/gssd/context_lucid.c   |    6 ++-
 utils/gssd/gssd_proc.c       |    1 +
 utils/gssd/krb5_util.c       |  105 +++++++++++++++++++++++++-----------------
 utils/gssd/krb5_util.h       |    3 +-
 5 files changed, 83 insertions(+), 57 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux