www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burak Akgerman <bakger...@checkfree.com>
Subject mod_jserv/4473: All 5 "short port" declarations in jserv.h should be "unsigned short port".
Date Tue, 25 May 1999 21:10:33 GMT

>Number:         4473
>Category:       mod_jserv
>Synopsis:       All 5 "short port" declarations in jserv.h should be "unsigned short port".
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue May 25 14:20:00 PDT 1999
>Last-Modified:
>Originator:     bakgerman@checkfree.com
>Organization:
apache
>Release:        1.0b5
>Environment:
HP-UX 10.20, JSDK 2.1, JDK 1.1.8
>Description:
According to the TCp?IP standard, the port is an unsigned 16 bit integer,
This should not be signed.  In jserv_ajpv11.c and jserv_watchdog.c the port is 
correctly declared as an unsigned short, but not in the jserv.h header file.
>How-To-Repeat:
Use any port above 32768 and under 65536.
>Fix:
Use an unsigned short, not a signed short.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message