Releases: spc476/SPCDNS
Releases · spc476/SPCDNS
Bug fix---Github deprecated git: URIs, so the rockspec is out of date
Yup, Github broke my Lua rock.
Bug fix---fix invalid read of memory
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
Support compiling SPCDNS under Windows using mingw.
The "Encode All The RRs!" Version
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.
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.
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.
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
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
Fixes a bug were the query ID was not sent back to Lua.
The "Moonrock" Version
We can now install the Lua bindings via LuaRocks.