s3-smbd: Don't segfault if user specified ports out for range.
authorAndreas Schneider <asn@samba.org>
Tue, 25 Sep 2012 12:28:22 +0000 (14:28 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 28 Sep 2012 07:23:17 +0000 (09:23 +0200)
commit60b15f3b646d10e027e8288132db5b942261de8f
treea893133e503b41eb37b7950be4ab951c70b8fcbb
parent1b85990b833fe4ef2007e82ffe26ee18f87cb464
s3-smbd: Don't segfault if user specified ports out for range.

(cherry picked from commit 50d324b7e070de4672eff3fb6231923e6dca807a)

Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9218 - Samba panics if a user specifies an invalid port number.
source3/smbd/server.c