Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Mizu
Commits
0846a98b
Unverified
Commit
0846a98b
authored
3 years ago
by
M. Mert Yıldıran
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix the Redis dissector (#739)
Co-authored-by:
Igor Gov
<
iggvrv@gmail.com
>
parent
602225bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tap/extensions/redis/read.go
+0
-6
tap/extensions/redis/read.go
with
0 additions
and
6 deletions
+0
-6
tap/extensions/redis/read.go
+
0
-
6
View file @
0846a98b
...
...
@@ -117,12 +117,6 @@ func (r *RedisInputStream) readLineBytes() ([]byte, error) {
line
:=
make
([]
byte
,
N
)
j
:=
0
for
i
:=
r
.
count
;
i
<=
N
;
i
++
{
if
i
>=
len
(
buf
)
{
return
nil
,
errors
.
New
(
"Redis buffer index mismatch."
)
}
if
i
>=
len
(
line
)
{
return
nil
,
errors
.
New
(
"Redis line index mismatch."
)
}
line
[
j
]
=
buf
[
i
]
j
++
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help