commit | c366717e66b6318c10a24ec10eede2c582a42b89 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Oct 13 23:26:29 2017 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Oct 13 23:26:29 2017 +0100 |
tree | 042b35e2c2dce15df8bbfe135197c9f140c83593 | |
parent | 22dee512f3738f87539a79aeb52b9e670b3bd104 [diff] |
Tidy up add_resource_record() buffer size checks. Mainly code-size and readability fixes. Also return NULL from do_rfc1035_name() when limit exceeded, so that truncated bit gets set in answer.