s3-smbd: Don't segfault if user specified ports out for range.
commit5701906aa051e7567561a14e38eb5a3dd5db3919
authorAndreas Schneider <asn@samba.org>
Tue, 25 Sep 2012 12:28:22 +0000 (25 14:28 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2012 09:05:39 +0000 (29 10:05 +0100)
tree2c65c450cd0fd8067405967a59e5e4c6c564115f
parent669eb48fc1925b8ee34c34c89c9eb36fd28619b9
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.
(cherry picked from commit f3f960bed8e155f7a3f93fc7f2cc4d483785e975)
source3/smbd/server.c