diff options
| author | christos <christos@NetBSD.org> | 2006-03-29 16:06:25 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-03-29 16:06:25 +0000 |
| commit | 353e39bc1f67832885f91d9387240a2ee8b4ed17 (patch) | |
| tree | 954c6cde8d74e9be6043d49acbd4f1365d26917e /gnu/libexec | |
| parent | 7e2e0fa776b9a61988c772a2122c18a681e805a6 (diff) | |
Add coverity annotations.
Diffstat (limited to 'gnu/libexec')
| -rw-r--r-- | gnu/libexec/uucp/libuucp/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/libuucp/buffer.c b/gnu/libexec/uucp/libuucp/buffer.c index e33b282aea0..e525f32a035 100644 --- a/gnu/libexec/uucp/libuucp/buffer.c +++ b/gnu/libexec/uucp/libuucp/buffer.c @@ -49,6 +49,7 @@ static struct sbuf *qBlist; /* Get a buffer of a given size. The buffer is returned with the ubuffree function. */ +/* coverity[+alloc] */ char * zbufalc (c) size_t c; @@ -76,6 +77,7 @@ zbufalc (c) /* Get a buffer holding a given string. */ +/* coverity[+alloc] */ char * zbufcpy (z) const char *z; @@ -93,6 +95,7 @@ zbufcpy (z) /* Free up a buffer back onto the linked list. */ +/* coverity[+free : arg-1] */ void ubuffree (z) char *z; |
