Skip to content
Snippets Groups Projects
Commit a87b6bb8 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

Bugfix (I hope)

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.13
parent 1066ba90
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ class protocol ...@@ -116,7 +116,7 @@ class protocol
mixed *decode_entries(string s,int num, int *next) mixed *decode_entries(string s,int num, int *next)
{ {
string *ret=({}); string *ret=({});
for(int e=0;e<num;e++) for(int e=0;e<num && next[0]<strlen(s);e++)
{ {
mapping m=([]); mapping m=([]);
m->name=decode_domain(s,next); m->name=decode_domain(s,next);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment