Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate tmp buffer from packTxtString #1429

Merged
merged 1 commit into from Mar 12, 2023

Conversation

tmthrgd
Copy link
Collaborator

@tmthrgd tmthrgd commented Mar 7, 2023

This allocation and the copy of s are both pointless.

This allocation and the copy of s are both pointless.
@tmthrgd tmthrgd requested a review from miekg as a code owner March 7, 2023 01:18
@miekg miekg merged commit b69c3a2 into miekg:master Mar 12, 2023
@tmthrgd tmthrgd deleted the packTxtString_tmp branch March 12, 2023 10:59
tmthrgd added a commit to tmthrgd/miekgdns that referenced this pull request Nov 6, 2023
This is exactly the same change as miekg#1429 but for packOctetString.

I have no idea how I missed this given it's the very next function.

Updates miekg#1429
miekg pushed a commit that referenced this pull request Nov 6, 2023
This is exactly the same change as #1429 but for packOctetString.

I have no idea how I missed this given it's the very next function.

Updates #1429
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants