mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 09:27:04 +00:00
dtable bug fixed: list overrun (from NetBSD tree)
This commit is contained in:
parent
ac8ca39406
commit
2c9003f0cf
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ int ssl_decode_switch(ssl,dtable,value,dir,seg,data)
|
||||||
segment *seg;
|
segment *seg;
|
||||||
Data *data;
|
Data *data;
|
||||||
{
|
{
|
||||||
while(dtable && dtable->type!=-1){
|
while(dtable && dtable->type!=-1 && dtable->name!=NULL){
|
||||||
if(dtable->type == value){
|
if(dtable->type == value){
|
||||||
INDENT_INCR;
|
INDENT_INCR;
|
||||||
explain(ssl,"%s",dtable->name);
|
explain(ssl,"%s",dtable->name);
|
||||||
|
|
Loading…
Reference in a new issue