]> git.ipfire.org Git - thirdparty/dhcp.git/commit
[master] Terminate strings before calling regexec
authorShawn Routhier <sar@isc.org>
Sat, 16 Jan 2016 03:49:23 +0000 (19:49 -0800)
committerShawn Routhier <sar@isc.org>
Sat, 16 Jan 2016 03:49:23 +0000 (19:49 -0800)
commit4ced250f58d646a466ebcafdbbdb215bcf724638
treee9b37fcf43273c82afd4191ae74397f1084097ab
parenteda1d0aa5a24f46de742bf7fd2989ae58d72cf78
[master] Terminate strings before calling regexec

    Make sure strings are terminated before callng regexec.
    If they are we can simply copy the pointers, if they
    aren't we need to copy the string into a new block
    of memory.

    Fix a boundary error in data_string_new()
RELNOTES
common/alloc.c
common/tests/test_alloc.c
common/tree.c
includes/dhcpd.h