Wrong memset when re-using addresses in connection module

Bug #513199 reported by Aleksander Morgado
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
El Jardin
Status tracked in Trunk
2.0
New
Undecided
Aleksander Morgado
Trunk
Fix Committed
Critical
Aleksander Morgado

Bug Description

When re-using an address struct in the connection module after a reconnect (fix was done for #507107), the memset() is not resetting the contents of the struct, but the struct-pointer itself and some pointers next to it, and thus, the re-use attempt for the peer address fails (new allocation happens) because the re-use attempt for the host address reseted peer address pointer and size to zero.

Changed in eljardin:
assignee: nobody → Aleksander Morgado (aleksander-m)
importance: Undecided → Critical
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.