Debian Patches
Status for sniproxy/0.7.0-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-Ensure-resolv_query-marks-the-callback-as-completed-.patch | fix crash when hostname is 254 or 255 characters Ensure resolv_query marks the callback as completed and immediately invokes the client callback with NULL when every DNS submission fails, guaranteeing callers are notified of resolution failures and resources are released. Update resolv_query to return NULL and release client data when every DNS submission fails, avoiding premature callback invocation. Modify connection setup to cache the hostname, detect a NULL resolver handle, log the failure, abort the connection, and reactivate watchers immediately. Ensure resolv_query now invokes the caller’s cleanup hook when it fails to allocate its internal state, preventing leaks of resolver callback data and associated addresses. Guard resolve_server_address against empty hostname results by logging an error, freeing any caller-owned address, aborting the connection, and reactivating watchers before returning. Free the resolver callback allocation before aborting connections when hostname lookup returns an empty result, preventing a leak on that early-exit path. Treat NULL or empty hostname results as invalid before invoking libudns so that resolutions with empty strings abort cleanly and free associated resources. |
Renaud Allard <renaud@allard.it> | no | 2025-10-30 |
All known versions for source package 'sniproxy'
- 0.7.0-2 (forky, sid)
- 0.6.1+git20240321-0.2 (trixie)
- 0.6.1+git20240321-0.1~bpo12+1 (bookworm-backports)
- 0.6.0-2.1 (bookworm)
