Commit Graph

10 Commits

Author SHA1 Message Date
Ronnie Sahlberg a43da7a4ff add dissection of three new flags in the security descriptor
svn path=/trunk/; revision=13210
2005-01-30 23:15:10 +00:00
Guy Harris 7e7d12b446 Update a URL.
svn path=/trunk/; revision=12864
2004-12-30 02:21:33 +00:00
Ulf Lamping e8459f4ea1 Again, some warnings removed.
svn path=/trunk/; revision=12831
2004-12-25 10:30:58 +00:00
Guy Harris e501ee7f01 Check for all bogus ACE lengths, i.e. all lengths < 4.
Clean up indentation.

Add a comment asking whether the revision in an ACL is *really* 2 bytes
and the ACE count is *really* 4 bytes.

svn path=/trunk/; revision=12816
2004-12-22 10:44:20 +00:00
Gerald Combs d528c62de1 From Brian Caswell:
The ACL parser will attempt to decode as many ACE structures as are
specified in the ACL structure.  If the number of ACE structures is
sufficiently large with one of the ACE structures specifying a size of
0, then the ACL parser will parse that ACE structure repeatedly,
eventually causing a denial of service to Ethereal.

I've attached a diff against HEAD that corrects the problem.  The diff
also corrects a few decoding errors in the NT ACL & ACE structures.  A
pcap is attached that reproduces the problem.

svn path=/trunk/; revision=12706
2004-12-09 22:17:50 +00:00
Guy Harris 329415a52a MSVC++ doesn't understand that "64_bit_integer % 10000000" fits in an
"int", so we throw in a cast to squelch a warning.

svn path=/trunk/; revision=11774
2004-08-19 09:00:20 +00:00
Guy Harris 5fa4e1f01f Use "G_GINT64_CONSTANT()" for 64-bit integral constants, rather than
hardwiring "LL" as the suffix - it's not "LL" in MSVC++.

svn path=/trunk/; revision=11773
2004-08-19 07:55:30 +00:00
Guy Harris bd2930f29e Don't do the FILETIME->nstime_t conversion in floating point, as it
produces some floating-point noise in the nanoseconds field; we've
required 64-bit integer support for a while, so use that.

svn path=/trunk/; revision=11754
2004-08-16 22:30:04 +00:00
Ulf Lamping cf22aa8bbc cast define of TIME_T_MIN and TIME_T_MAX to (time_t), as MSVC seems to have problems with this definition and throws a warning "convert negative constant to unsigned integer"
svn path=/trunk/; revision=11753
2004-08-16 17:18:04 +00:00
Guy Harris 13bb12c4f1 Move a bunch of stuff that's more Windows-related than SMB-related to
"packet-windows-common.[ch]".

svn path=/trunk/; revision=11592
2004-08-03 02:28:49 +00:00