Age | Commit message (Collapse) | Author | Files | Lines |
|
Add sanity checks in range.c
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37784 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Return an error if the user specifies a value in a range in excess of the
range-specified maximum.
Except when reading in preferences files which might have ranges that exceed
the maximum (because we didn't use to check): in that case silently lower the
out-of-range values.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34698 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28145 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27999 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Have value_is_in_range() to gracefully handle a NULL range. This might
fix bug 3208.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27281 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
G_MAXUINT32, and G_MAXUINT64; don't check whether we need to define them
ourselves.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25420 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
also make range_convert_range() return an emem allocated string
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15660 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
to hold the representation of the range, rather than imposing a
fixed-size limit on the string.
Check for overflow in "strtoul()" - and use "strtoul()" rather than
"strtol()" for range members.
Clean up indentation.
Get rid of an unnecessary include in <epan/range.h>.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12323 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
allocate them to be large enough.
Add checks that the numbers in the range fit in a guint32.
Check the validity of a range before saving or printing, and report
errors in an alert box.
Clean up white space.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12320 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
number of ranges - 1, and update loops that iterate over all the ranges
appropriately.
Make "range_convert_str()" return a success/failure indication, and
check it. Rewrite it to do more checks, and not to blithely ignore
unknown characters.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12313 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12300 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11896 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
functions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11892 f5534014-38df-0310-8fa8-9805f1628bb7
|