[Snort-devel] Re: [Snort-users] Announce: Snort 1.8.4 Beta 3 available

Kris Kennaway kris at ...1180...
Sat Mar 2 13:16:32 EST 2002


On Thu, Feb 28, 2002 at 04:59:12PM -0600, Chris Green wrote:
> Changes since Beta2
> 
> * Oracle Schema update (Chad Kreimendahl)
> * spo_database updates (Roman Danyliw)
> * spp_stream4 on SPARC fixes
> * small memory problems (pointed out by Magnus Almgren)
> * spo_xml uses classfication id now (Roman Danyliw)
> * --with-mysql=/blah should now work against the /blah installation

There are some pretty basic format string errors in beta3 (and
presumably earlier versions):

snort.c:3158: warning: int format, long int arg (arg 2)
parser.c:677: warning: int format, pointer arg (arg 3)
parser.c:706: warning: int format, pointer arg (arg 3)
parser.c:722: warning: int format, pointer arg (arg 3)
parser.c:738: warning: int format, pointer arg (arg 3)
parser.c: In function `ParseDeclaredRuleType':
parser.c:782: warning: int format, pointer arg (arg 3)
sp_ip_proto.c: In function `IpProtoRuleParseFunction':
sp_ip_proto.c:135: warning: too few arguments for format
spo_unified.c: In function `ParseUnifiedArgs':
spo_unified.c:241: warning: too few arguments for format
spp_stream4.c: In function `SafeAlloc':
spp_stream4.c:530: warning: long unsigned int format, u_int32_t arg (arg 2)
spp_stream4.c: In function `ParseStream4Args':
spp_stream4.c:650: warning: long unsigned int format, u_int32_t arg (arg 2)
spp_stream4.c:736: warning: format argument is not a pointer (arg 2)
spp_stream4.c:736: warning: too few arguments for format
spp_stream4.c:759: warning: format argument is not a pointer (arg 2)
spp_stream4.c:759: warning: too few arguments for format
spp_stream4.c:788: warning: long unsigned int format, u_int32_t arg (arg 2)
spp_frag2.c: In function `Frag2Alloc':
spp_frag2.c:173: warning: long unsigned int format, unsigned int arg (arg 2)
spp_frag2.c: In function `ParseFrag2Args':
spp_frag2.c:343: warning: long unsigned int format, u_int32_t arg (arg 2)
spp_frag2.c:374: warning: format argument is not a pointer (arg 2)
spp_frag2.c:374: warning: too few arguments for format
spp_frag2.c:398: warning: long unsigned int format, unsigned int arg (arg 4)
spp_frag2.c:424: warning: long unsigned int format, u_int32_t arg (arg 2)

At the very least the "too few arguments for format" ones should be
fixed prior to release.  There may be others; this was compilation
without any of the options turned on.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20020302/5116fad3/attachment.sig>


More information about the Snort-devel mailing list