Skip to content

Commit 9e46768

Browse files
committed
improved nino port number validation
1 parent c778e45 commit 9e46768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/server/wsf/connector/nino/wsf_nino_service_launcher.e

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ feature -- Status report
147147

148148
launchable: BOOLEAN
149149
do
150-
Result := Precursor and port_number >= 0
150+
Result := Precursor and 0 <= port_number and port_number <= {NATURAL_16}.max_value
151151
end
152152

153153
;note
154-
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
154+
copyright: "2011-2015, Jocelyn Fiat, Javier Velilla, Eiffel Software and others"
155155
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
156156
source: "[
157157
Eiffel Software

0 commit comments

Comments
 (0)