Allow sin_port = 0 for certain applications
Bug #816985 reported by
Tomasz Gebarowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
El Jardin |
Fix Committed
|
Medium
|
Tomasz Gebarowski |
Bug Description
In most of the cases sin_port member of struct sockaddr_in should be a non zero value.
There is an exception from that rule for UDP Source Port., see below:
"Normally, the field identifies the sender's port when meaningful and should be assumed to be the port to reply to if needed. If not used, then it should be zero. If the source host is the client, the port number is likely to be an ephemeral port number. If the source host is the server, the port number is likely to be a well-known port number"
Change the jardin_
Changed in eljardin: | |
importance: | Undecided → Medium |
assignee: | nobody → Tomasz Gebarowski (tgebarowski) |
Changed in eljardin: | |
status: | Fix Committed → Fix Released |
Changed in eljardin: | |
status: | Incomplete → Fix Committed |
To post a comment you must log in.
Fix commited in branch: /code.launchpad .net/~tgebarows ki/eljardin/ bugfix- 816985
https:/