Commit graph

3 commits

Author SHA1 Message Date
Simon Arlott 4212494106
ircd: substitution: fix buffer overrun if variable name is too long
Also fix the "ptr = ptr + (pptr - ptr)" aka "ptr = pptr" mess by
removing pptr.
2017-08-05 11:27:02 +01:00
Simon Arlott b582b00585
tests: fix warnings 2017-08-04 20:02:27 +01:00
Simon Arlott 17ea888046
tests: add substitution_parse tests 2017-07-29 22:46:09 +01:00