aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-smb.c')
-rw-r--r--epan/dissectors/packet-smb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c
index 3d2b7bf923..badd715763 100644
--- a/epan/dissectors/packet-smb.c
+++ b/epan/dissectors/packet-smb.c
@@ -1229,8 +1229,10 @@ TimeZoneFaster(time_t t)
/* no entry will cover more than 6 months */
low = t - MAX_DST_WIDTH/2;
+ /* XXX - what if t < MAX_DST_WIDTH/2? */
high = t + MAX_DST_WIDTH/2;
+ /* XXX - what if this overflows? */
/*
* Widen the new entry using two bisection searches.