Wireshark-commits: [Wireshark-commits] rev 34698: /trunk/epan/ /trunk/epan/: prefs-int.h prefs.c pr

Date: Fri, 29 Oct 2010 22:09:33 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=34698

User: morriss
Date: 2010/10/29 03:09 PM

Log:
 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.

Directory: /trunk/epan/
  Changes    Path           Action
  +2 -2      prefs-int.h    Modified
  +16 -9     prefs.c        Modified
  +1 -1      prefs.h        Modified
  +51 -20    range.c        Modified
  +9 -6      range.h        Modified