-- zabbix-1.6.tar.gz --
./zabbix-1.6/include/db.h
TRIGGER_COMMENTS_LEN was defined 4096,
but TRIGGER_URL_LEN was 255.
so If use TRIGGER_COMMENTS_LEN in code,
it occurs access unallocated memory.
./zabbix-1.6/include/db.h
Code:
119c119 < #define TRIGGER_COMMENTS_LEN_MAX TRIGGER_URL_LEN+1 --- > #define TRIGGER_COMMENTS_LEN_MAX TRIGGER_COMMENTS_LEN+1
but TRIGGER_URL_LEN was 255.
so If use TRIGGER_COMMENTS_LEN in code,
it occurs access unallocated memory.
Comment