Bug 7533 - getpeerbynane failure is causing coredumps.
Summary: getpeerbynane failure is causing coredumps.
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: x64 Solaris
: P3 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 12:52 UTC by Ira Cooper
Modified: 2010-06-28 15:01 UTC (History)
0 users

See Also:


Attachments
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.

Thanks,

-Ira
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 !
Jeremy.