Age | Commit message (Collapse) | Author | Files | Lines |
|
still declared by <string.h> on some platforms (at least the way we
compile, with all sorts of non-ANSI C/non-POSIX stuff added).
svn path=/trunk/; revision=25551
|
|
svn path=/trunk/; revision=25368
|
|
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif
svn path=/trunk/; revision=24859
|
|
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
g_strsplit code for the no longer supported GLIB1 builds
svn path=/trunk/; revision=24829
|
|
svn path=/trunk/; revision=24605
|
|
svn path=/trunk/; revision=24599
|
|
and call AirPDcapInitContext() where we were previously calling
AirPDcapCleanKeys(). If we're resetting our keys, we should reset our
SA list and other associated data as well.
svn path=/trunk/; revision=24562
|
|
defined
we must also include g_ascii_strcasecmp.h from the parent directory
svn path=/trunk/; revision=23634
|
|
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our
own versions if they're missing from GLib (as is the case with GLib
1.x).
In the code to build the list of named fields for Diameter, don't use
g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping
in the hash function and use g_ascii_strcasecmp() in the compare
function.
We do this because there is no guarantee that toupper(), tolower(), and
functions that use them will, for example, map between "I" and "i" in
all locales; in Turkish locales, for example, there are, in both
upper case and lower case, versions of "i" with and without a dot, and
the upper-case version of "i" is "I"-with-a-dot and the lower-case
version of "I" is "i"-without-a-dot. This causes strings that should
match not to match.
This finishes fixing bug 2010 - an earlier checkin prevented the crash
(as there are other ways to produce the same crash, e.g. a bogus
dictionary.xml file), but didn't fix the case-insensitive string matching.
svn path=/trunk/; revision=23623
|
|
Remove an unneeded for loop in AirPDcapCleanKeys(), and make it static.
svn path=/trunk/; revision=23314
|
|
"Buffer lenght:"
(recursively grepped through the source and corrected all occurences, even
the ones just in comments)
svn path=/trunk/; revision=23211
|
|
some variables.
svn path=/trunk/; revision=22210
|
|
svn path=/trunk/; revision=22169
|
|
last checkin. In airpcap.c, appease the toolbar code by returning a
lower-case, non-separated WEP key.
svn path=/trunk/; revision=22152
|
|
process WEP keys. Allow the "wep:" prefix for WEP keys even when
HAVE_AIRPDCAP isn't defined. Add a NULL pointer check to
hex_str_to_bytes(). Fixes bug 1584.
Fixup indentation.
svn path=/trunk/; revision=22151
|
|
capture that has extra data in the 4th handshake message.
svn path=/trunk/; revision=22138
|
|
the WEP/WPA decryption code instead of re-calculating it. Fixes bug
1639.
Remove fcsPresent, radiotapPresent, and associated code from airpdcap.c
since they were always FALSE. Glib-ize some data types. Fixup white
space.
Update the release notes.
svn path=/trunk/; revision=22104
|
|
svn path=/trunk/; revision=22030
|
|
a better fix. Clean up whitespace while we're at it.
svn path=/trunk/; revision=21847
|
|
prematurely if we have an IBSS frame.
svn path=/trunk/; revision=21814
|
|
svn path=/trunk/; revision=21544
|
|
it a pointer to a guint32. Also, use pletohl() to fetch a 32-bit
little-endian quantity.
svn path=/trunk/; revision=21542
|
|
boundary; make it an array of 16 guint32's rather than 64 guint8's, to
ensure that, and add now-necessary casts and remove now-unnecessary
casts.
(Missed on the previous checkin.)
svn path=/trunk/; revision=21541
|
|
boundary; make it an array of 16 guint32's rather than 64 guint8's, to
ensure that, and add now-necessary casts and remove now-unnecessary
casts.
svn path=/trunk/; revision=21540
|
|
svn path=/trunk/; revision=21536
|
|
on processors that don't support unaligned loads - just use pletohs().
svn path=/trunk/; revision=21534
|
|
the compiler now warns of that.
svn path=/trunk/; revision=21530
|
|
generates a warning.
svn path=/trunk/; revision=21528
|
|
Use the "pnto" macros to fetch 16-bit quantities from a buffer - not
only do they have the right casts to avoid const warnings, they also
work even on platforms (such as SPARC) where you can't dereference
unaligned pointers without a trap.
Similarly, compare a possibly-unaligned (we make no alignment guarantees
in Wireshark) 16-bit quantity against 0 a byte at a time.
svn path=/trunk/; revision=21507
|
|
care about, and this code doesn't use GTK+, so it doesn't include any
GTK+ headers and therefore doesn't get the GTK+ version number defined.
svn path=/trunk/; revision=21506
|
|
this will hopefully again compile under both gtk1 and 2
svn path=/trunk/; revision=21499
|
|
svn path=/trunk/; revision=21497
|
|
compiling
svn path=/trunk/; revision=21494
|
|
present in the wireshark code
svn path=/trunk/; revision=21429
|
|
- Replaced spaces at beginning of line by tab
svn path=/trunk/; revision=21267
|
|
memset and memcpy instead.
svn path=/trunk/; revision=21201
|
|
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)
Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)
svn path=/trunk/; revision=21153
|
|
svn path=/trunk/; revision=21129
|
|
svn path=/trunk/; revision=21125
|
|
And here is the patch to change guint -> guint32 in the hmac function.
svn path=/trunk/; revision=21037
|
|
svn path=/trunk/; revision=20932
|
|
problems, and there's no guarantee that _SIZE_T is defined on all ANSI C
platforms, so you might end up with a redefinition and a compile failure.
svn path=/trunk/; revision=20931
|
|
instead of the actual buffer. Add an entry to the release notes, and
clear out leftovers from the 0.99.5 release.
svn path=/trunk/; revision=20875
|
|
svn path=/trunk/; revision=20865
|
|
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1. Include this
work-around function (ws_strsplit) in libwireshark.def. Add notes on usage
to README.developer. Include epan/ws_strsplit.h in all files that use
g_strsplit().
svn path=/trunk/; revision=20804
|
|
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1289
Rename 'svnversion' to 'wireshark_svnversion' to resolve a symbol conflict with
GTK 2.10.6 (hmm, shouldn't GTK not be exporting that symbol or at least naming
it so as to prevent such collisions? Well, so should we, so...)
From Andreas Fink: change #ifdef for size_t in airdcap_interop.h to fix
compile on MacOS X.
svn path=/trunk/; revision=20726
|
|
which was broken by r20388.
svn path=/trunk/; revision=20573
|
|
the lack of SSID). Wildcarding combines the passphrase with the last
seen SSID and attempts decryption. The last-seen stack is only one
element tall, which means it may get clobbered on busy and diverse
networks. We can expand it if needed.
Make internal functions static in airpdcap.c. Rearrange the
AIRPDCAP_KEY_ITEM struct so that the passphrase and SSID don't get
clobbered when we set our PSK.
svn path=/trunk/; revision=20572
|
|
handling. Free a byte array. Squelch a compiler warning. Fix a URI
string parsing bug.
svn path=/trunk/; revision=20549
|
|
svn path=/trunk/; revision=20457
|