gdestuynder / audisp-json

42 stars 17 forks source link

Bug-fix: Null terminate keywords array #6

Closed bradfordboyle closed 8 years ago

bradfordboyle commented 8 years ago

The keywords array in json-config.c was not terminated with NULL causing the loop in kw_lookup to go beyond the end of the array and cause a segfault. This was discovered by uncommenting the curl_filelog option in the default configuration file; the correct option is curl_logfile.

gdestuynder commented 8 years ago

Thanks!