1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtcm: fix a segfault when "Drag Appt" in the dtcm_editor.

This commit is contained in:
Liang Chang 2021-02-11 21:01:41 +08:00 committed by Jon Trulson
parent d428d68edb
commit 4190143c91

View file

@ -1684,7 +1684,7 @@ attrs_to_string(CSA_attribute * attrs, int num_attrs)
CSA_access_list a_ptr;
char *buffer = malloc(1);
char tmp_buf[MAXNAMELEN];
int advance_time;
time_t advance_time;
buffer[0] = '\0';
for (i = 0; i < num_attrs; i++) {