Skip to content

Releases: spc476/SPCDNS

Bug fix---Github deprecated git: URIs, so the rockspec is out of date

13 Apr 00:56
Compare
Choose a tag to compare

Bug fix---fix invalid read of memory

13 Apr 00:26
Compare
Choose a tag to compare

Decoding of a domain name could lead to an invalid read of memory. Thanks to Alper Akcan for finding this bug.

Bug fix---add support for Windows/mingw

22 Nov 00:58
Compare
Choose a tag to compare

Support compiling SPCDNS under Windows using mingw.

The "Encode All The RRs!" Version

06 Jul 00:56
Compare
Choose a tag to compare

The encoding of multiple RR types is now supported! For users in C, there shouldn't be any changes; for Lua, the return status now returns an integer error value instead of a string error value.

Bug fix---remove undefined behavior from previous bug fix.

06 Oct 01:52
Compare
Choose a tag to compare
Technically, you can point one past an array, but not one before an array.
The previous fix pointed one before an array.  I had a realization that one
could avoid the undefined behavior and still have decent code.  It also
doesn't take as long to explain what the code is doing.

Bug fix---concatenated TXT records need space between strings.

06 Oct 01:51
Compare
Choose a tag to compare
If there were multiple TXT records, they are concatenated together.  The old
behavior didn't add any spaces, but this made it hard to actually read some
consecutive TXT records.  A space ha now been added between strings.

Bug fix---timed out condition didn't return timed out error.

06 Oct 01:51
Compare
Choose a tag to compare
The log detecting a timed out condition was wrong and thus, a packet (mainly
garbage) would be returned when it shouldn't have.

The "Output Library" Version

06 Oct 01:50
Compare
Choose a tag to compare

Not exactly a bug fix, but a new feature (so I broke semantic versioning). This collects some output routines into a library to be used by code.

Bug fix---forgot to send the query ID back to Lua

06 Oct 01:49
Compare
Choose a tag to compare

Fixes a bug were the query ID was not sent back to Lua.

The "Moonrock" Version

06 Oct 01:47
Compare
Choose a tag to compare

We can now install the Lua bindings via LuaRocks.