Opened 15 years ago

Last modified 7 years ago

#44 closed defect (Fixed)

resolve_my_address() failures can lead to crash.

Reported by: nickm Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.0.9.1
Severity: Keywords:
Cc: nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

If resolve_my_address() fails at a HUP, then rather than continuing with the old address (desirable if the address hasn't changed) or exiting gracefully (maybe desirable if the address has changed), Tor simply crashes at places like

main.c: if (write_str_to_file(keydir,
router_get_my_descriptor(), 0)) {

This should get fixed.

Reported by Ben L.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 15 years ago by nickm

oops, not the task I meant to close.

comment:2 Changed 15 years ago by nickm

flyspray2trac: bug closed.
Thanks! Fixed in CVS.

comment:3 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.