Go to file
Cheyenne Wills c49d383f99 bozo: Fix memory leak, check for malloc failures
While reading the BosConfig file, the buffer obtained to hold the notp
(notify) parameter is never freed. Reading the BosConfig is only
done once at bosserver start up, so this is a one-time memory
allocation.

There are no checks for malloc failures.

Release the notp buffer and add checks for memory allocation errors.

Change-Id: Iffcb0db12f983a6a6d6a810a98be30152fa73c89
Reviewed-on: https://gerrit.openafs.org/14551
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
2021-03-12 17:18:58 -05:00
build-tools make-release: Run git describe once 2020-06-18 21:15:15 -04:00
doc kauth: Add support for updated audit facility 2020-12-04 19:08:59 -05:00
src bozo: Fix memory leak, check for malloc failures 2021-03-12 17:18:58 -05:00
tests tests: fix potential divide by zero condition 2021-01-22 19:36:36 -05:00
.gitignore Remove alpha_dux/alpha_osf references 2018-09-22 17:05:26 -04:00
.gitreview Add .gitreview 2018-02-04 15:34:55 -05:00
.mailmap git: add a mailmap file 2016-09-25 21:05:23 -04:00
.splintrc
acinclude.m4 configure.ac: Add missing double include guard 2021-02-25 21:18:00 -05:00
CODING clang-10: ignore fallthrough warning in generated code 2020-07-27 12:23:15 -04:00
configure-libafs.ac Make OpenAFS 1.9.0 2020-09-19 02:00:24 -04:00
configure.ac vol: de-orbit test programs 2020-10-08 00:13:06 -04:00
CONTRIBUTING Correct our contributor's code of conduct 2020-09-04 10:01:28 -04:00
INSTALL INSTALL: document the minimum Linux kernel level 2020-08-28 12:24:37 -04:00
libafsdep
LICENSE cf: Make local copy of ax_gcc_func_attribute.m4 2020-07-24 08:35:59 -04:00
Makefile-libafs.in
Makefile.in vol: de-orbit test programs 2020-10-08 00:13:06 -04:00
NEWS Import NEWS from OpenAFS 1.8.6 2020-09-18 11:23:28 -04:00
NTMakefile rxgk: Add NTMakefile to install headers 2019-08-28 02:50:58 -04:00
README Tweak grammar in README 2015-12-28 19:32:17 -05:00
README-WINDOWS Update windows build documentation 2013-07-02 15:14:09 -07:00
regen.sh Use autoconf-archive m4 from src/external 2020-05-08 11:30:36 -04:00

AFS is a distributed file system that enables users to share and
access all of the files stored in a network of computers as easily as
they access the files stored on their local machines. The file system is
called distributed for this exact reason: files can reside on many
different machines, but are available to users on every machine.

OpenAFS 1.0 was originally released by IBM under the terms of the
IBM Public License 1.0 (IPL10).  For details on IPL10 see the LICENSE
file in this directory.  The current OpenAFS distribution is licensed
under a combination of the IPL10 and many other licenses as granted by
the relevant copyright holders.  The LICENSE file in this directory
contains more details, thought it is not a comprehensive statement.

See INSTALL for information about building and installing OpenAFS
on various platforms.

See CODING for developer information and guidelines.

See NEWS for recent changes to OpenAFS.