Changes between Version 2 and Version 4 of Ticket #1974
- Timestamp:
- Oct 28, 2016 6:22:31 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1974
- Property Summary changed from Various fixes for DNS IPv6 to Various fixes for DNS, primarily for IPv6
-
Ticket #1974 – Description
v2 v4 33 33 4. Fixed bug of premature app callback invocation for SRV resolver by applying the same method in r5369. 34 34 35 5. Remove DNS cache entry from resolver's hash table when app callback has a reference.[[br]] 36 In resolver.c {{{update_res_cache()}}}, if app callback has a reference, we only decrement the reference count of the cache entry. However, since it's not removed from the hash table, later the call to {{{pj_hash_set_np()}}} will overwrite this old entry (instead of using the newly allocated cache->hbuf), which will later be freed. 37 35 38 Thank you to Richard Mudgett (Digium) for the report.