summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3e1b0e)
raw | patch | inline | side by side (parent: f3e1b0e)
author | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 21:30:39 +0000 (22:30 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 5 Dec 2015 21:30:39 +0000 (22:30 +0100) |
CID: 37965
src/common.c | patch | blob | history |
diff --git a/src/common.c b/src/common.c
index 64bc42daa3726b067cf6ea27d80f2c1f585ff063..4da8feee853ce3ac525157884371a01e7f744ea3 100644 (file)
--- a/src/common.c
+++ b/src/common.c
char *ptr;
char *saveptr;
+ if ((buffer == NULL) || (vl == NULL) || (ds == NULL))
+ return EINVAL;
+
i = -1;
dummy = buffer;
saveptr = NULL;