[Snort-devel] colliding globals

Jeff Nathan jeff at ...835...
Tue Nov 30 12:06:09 EST 2004


Two problems.

First, PATH_VARRUN and sfPerf are defined as globals in snort.h.

Second list_file_line is defined as a global in parser.c (where it's 
not used) and detection-plugins/sp_pattern_match.c

This creates some problems on my mac when I try to link against certain 
external libs.

A patch is attached for HEAD and SNORT_2_3.

-Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: globals_HEAD.diff.gz
Type: application/x-gzip
Size: 830 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20041130/a9f9d669/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: globals_23.diff.gz
Type: application/x-gzip
Size: 835 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20041130/a9f9d669/attachment-0001.bin>
-------------- next part --------------

--
http://cerberus.sourcefire.com/~jeff       (DSA key id 6923D3FD)
"Problems cannot be solved at the same level of awareness that
created them."   - Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20041130/a9f9d669/attachment.sig>


More information about the Snort-devel mailing list