diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-29 22:09:31 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-29 22:09:31 +0000 |
commit | 6eba069093ef665b3fa5f179dd315ab89916c4e7 (patch) | |
tree | 03ef3c16c38dc1cbbbfe2b3a95f8544a1836b967 /epan/prefs.h | |
parent | e21ca351167349c9ba531bee03ba99eca889a408 (diff) |
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4768 :
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.
svn path=/trunk/; revision=34698
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index c15b966afa..3cfa157042 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -301,7 +301,7 @@ extern const char *prefs_get_title_by_name(const char *name); */ extern module_t *prefs_find_module(const char *name); -/** Given a module name, and a preference name return a pointer to the given +/** Given a module name, and a preference name return a pointer to the given * module's given preference or NULL if it's not found. * * @param module The preference module name. Usually the same as the protocol |