commit | 242590ee5d7558dbc937c8abbd471425f1059f43 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Fri Nov 13 18:04:35 1998 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Fri Nov 13 18:04:35 1998 +0000 |
tree | aaf6df0f844688603bef4731837c1686568c5444 | |
parent | 42dc9b30b95d601ece30b4c9267e157ca694a5ab [diff] [blame] |
simple bug hunting done during rpm2html and rpmfind integration.
diff --git a/entities.c b/entities.c index 0776117..0b41800 100644 --- a/entities.c +++ b/entities.c
@@ -259,6 +259,7 @@ const CHAR *cur = input; CHAR *out = buffer; + if (input == NULL) return(NULL); if (buffer == NULL) { buffer_size = 1000; buffer = (CHAR *) malloc(buffer_size * sizeof(CHAR));