diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-03-07 21:08:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-03-07 21:08:33 +0000 |
commit | 0070f850df5838e01c27e1f8b7556517cc5f17db (patch) | |
tree | e701c422a507f86b4f04e1639a64fdb7c85004e7 /wiretap/vms.c | |
parent | d124f3f5e4789b8326a94fb6e4eb79164d0f0c51 (diff) | |
download | wireshark-0070f850df5838e01c27e1f8b7556517cc5f17db.tar.gz |
Bug fix from Marc Milgram: occasionally the VMS parser would read off
the end of string, and find some old data that looked useful, but was
bogus for the frame.
svn path=/trunk/; revision=4897
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r-- | wiretap/vms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c index 7fe8ad9cf6..c15760932f 100644 --- a/wiretap/vms.c +++ b/wiretap/vms.c @@ -1,6 +1,6 @@ /* vms.c * - * $Id: vms.c,v 1.10 2002/03/05 08:39:29 guy Exp $ + * $Id: vms.c,v 1.11 2002/03/07 21:08:33 guy Exp $ * * Wiretap Library * Copyright (c) 2001 by Marc Milgram <mmilgram@arrayinc.com> @@ -269,7 +269,7 @@ isdumpline( guchar *line ) { int i = 0; - while (i<VMS_LINE_LENGTH && !isalnum(line[i])) + while (i<VMS_LINE_LENGTH && line[i] && !isalnum(line[i])) i++; if (! isxdigit(line[i])) |