summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxdbhigh/db.c
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-14 13:16:58 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-14 13:16:58 +0000
commitc44eed92d3f3bcfc0efad6e18e31323f089a9ce6 (patch)
tree25714827f588516518650c79a1e822fab07eec22 /src/libs/zbxdbhigh/db.c
parentf5b4cc113ed86896293f7879c7ca65fd199413ef (diff)
downloadzabbix-c44eed92d3f3bcfc0efad6e18e31323f089a9ce6.tar.gz
zabbix-c44eed92d3f3bcfc0efad6e18e31323f089a9ce6.tar.xz
zabbix-c44eed92d3f3bcfc0efad6e18e31323f089a9ce6.zip
- [ZBX-356] fixed possible server crash for non *log() items with type 'log'
[svn merge svn://svn.zabbix.com/branches/1.4 -r5614:5617] git-svn-id: svn://svn.zabbix.com/trunk@5618 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/db.c')
-rw-r--r--src/libs/zbxdbhigh/db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c
index 87cd8b83..6348698e 100644
--- a/src/libs/zbxdbhigh/db.c
+++ b/src/libs/zbxdbhigh/db.c
@@ -1802,6 +1802,8 @@ void DBget_item_from_db(DB_ITEM *item,DB_ROW row)
item->delay_flex = row[35];
item->host_dns = row[36];
item->params = row[37]; /* !!! WHAT about CLOB??? */
+
+ item->eventlog_source=NULL;
}
/*