| Ticket UUID: | f6624cf52ba421acae5988d65cdff85888bd9ece | |||
| Title: | dns::resolve leaks memory on error | |||
| Type: | Bug | Version: | 1.6.1 | |
| Submitter: | emiliano | Created on: | 2026-09-04 21:57:22 | |
| Subsystem: | dns | Assigned To: | ||
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Open | Last Modified: | 2026-09-04 22:10:45 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
dns::resolve leaks tokens on errors: ``` % package require dns 1.6.1 % set tok [dns::resolve www.google.com -protocol udp] udp support is not available, get ceptcl or tcludp % set tok can't read "tok": no such variable % parray ::dns::1 ::dns::1(-cadir) = ::dns::1(-cafile) = /etc/ssl/certs/ca-certificates.crt ::dns::1(-class) = IN ::dns::1(-command) = ::dns::1(-nameserver) = 127.0.0.53 ::dns::1(-port) = 53 ::dns::1(-protocol) = udp ::dns::1(-recurse) = 1 ::dns::1(-search) = ::dns::1(-timeout) = 30000 ::dns::1(-type) = A ::dns::1(-usetls) = 0 ::dns::1(id) = 1 ::dns::1(opcode) = 0 ::dns::1(qdata) = ::dns::1(query) = www.google.com % ``` | |||
| User Comments: |
emiliano added on 2026-09-04 22:10:45:
Proposed fix commited in branch [bug-f6624cf52ba4] | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki