-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: miekg/dns
base: v1.1.59
head repository: miekg/dns
compare: v1.1.61
- 9 commits
- 11 files changed
- 6 contributors
Commits on Jun 13, 2024
-
Fix possible out-of-bounds read in endingToTxtSlice (#1557)
* Update escapedStringOffset to improve readability This function was, admittedly, a little difficult to follow. This new version is slightly more verbose, but, in my opinion, easier to understand. * Fix possible out-of-bounds read in endingToTxtSlice caused by escapedStringOffset If the input had a trailing backslash (normally the start of an escape sequence) with nothing following it, `escapedStringOffset` would return the length of the input, plus one (!), as the result index, causing an out-of-bounds read and panic in `endingToTxtSlice`. Consistent with, e.g., commit 2230854, I've decided to make this an error since it definitely indicates that the string isn't valid. Credit to OSS-Fuzz -- thank you!
Configuration menu - View commit details
-
Copy full SHA for 76926c7 - Browse repository at this point
Copy the full SHA 76926c7View commit details -
Bump golang.org/x/sys from 0.18.0 to 0.20.0 (#1571)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.20.0. - [Commits](golang/sys@v0.18.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d945412 - Browse repository at this point
Copy the full SHA d945412View commit details -
Bump golang.org/x/net from 0.22.0 to 0.25.0 (#1569)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.25.0. - [Commits](golang/net@v0.22.0...v0.25.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f89100d - Browse repository at this point
Copy the full SHA f89100dView commit details -
Bump golang.org/x/tools from 0.19.0 to 0.22.0 (#1574)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.19.0 to 0.22.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.19.0...v0.22.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 32f0e18 - Browse repository at this point
Copy the full SHA 32f0e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b89f28 - Browse repository at this point
Copy the full SHA 2b89f28View commit details -
Add a hook to catch invalid messages (#1568)
* Add a hook to catch invalid messages Currently there are hooks for reading messages off the wire (DecorateReader), checking if they comply with policy (MsgAcceptFunc), and generating responses (Handler). However, there is no hook that notifies the server when a message is dropped or rejected due to a syntax error. That makes it hard to monitor these packets without repeating the parsing process. This PR adds a hook for notifications about invalid packets. * s/InvalidMsg/MsgInvalid/g
Configuration menu - View commit details
-
Copy full SHA for eada9c9 - Browse repository at this point
Copy the full SHA eada9c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3301c3 - Browse repository at this point
Copy the full SHA c3301c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ef7a6 - Browse repository at this point
Copy the full SHA a1ef7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5a40bc - Browse repository at this point
Copy the full SHA e5a40bcView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.1.59...v1.1.61