Commit Graph
2 Commits
Author SHA1 Message Date
Markus SunelaandMarkus Sunela 1aef998b81 Fixed NULL pointer error, if no label is provided after the rule keyword.
Add NULL guard in freerules function. Use strncat and strncpy to ensure
the buffer lengths are adhered to.
2019-05-03 10:36:59 +03:00
Markus Sunela 78abe70d89 Fix re-entrancy problems caused by the (unnecessary) use of static variables in functions.
While at it, mark most of functions static, as they are not used outside the module.
2019-03-07 11:03:01 +02:00