Bug 7533 - getpeerbynane failure is causing coredumps.
getpeerbynane failure is causing coredumps.
Product: Samba 3.6
Classification: Unclassified
Component: File services
x64 Solaris
: P3 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2010-06-28 12:52 UTC by Ira Cooper
Modified: 2010-06-28 15:01 UTC (History)
0 users

See Also:

proposed patch. (1.85 KB, patch)
2010-06-28 12:53 UTC, Ira Cooper
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ira Cooper 2010-06-28 12:52:13 UTC
We are getting coredumps in getpeerbyname early in smb_process.  I don't believe this is even really that unusual a condition, because of the fact that Wibdows XP will try to establish connections on both port 139 and 445, and close the one that comes back slower.

I'd expect this code to be hit occasionally, and I'd in fact support backing off the level of the DEBUG messages in this area because I believe they'll alarm users unnecessarily.

Proposed patch enclosed, without changing the DEBUG levels.


Comment 1 Ira Cooper 2010-06-28 12:53:44 UTC
Created attachment 5813 [details]
proposed patch.
Comment 2 Jeremy Allison 2010-06-28 15:01:59 UTC
Pushed to master - will be in 3.6.0.
Thanks !