Jump to content











Photo
- - - - -

crashed because divided by zero

crash

  • Please log in to reply
3 replies to this topic

#1 Lonny

Lonny
  • Members
  • 2 posts
  •  
    China

Posted 2 weeks ago

tftpd 4.6 crashed at dns.c line 131

if (AnswerDnsQuery ( (DNS_HEADER*)Buf, Rc, answer, & anslen ))
{
    Rc = sendto (sDNSSocket, answer, anslen, 0, (struct sockaddr *) & sSock, sizeof sSock);
    LogToMonitor ("send %d/%d bytes", anslen/Rc);
}

it should be:

LogToMonitor ("send %d/%d bytes", anslen, Rc);


#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14257 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 2 weeks ago

this is not the support forum for tftpd,

No, but it is the (completely UNofficial BUT official :hyper: ) support board for tftpd32, now (senselessly) renamed to tftpd64, try going here:

http://www.tftpd64.com/

look at the bottom left, and click on the arrow between "Go to the Forum :"   and      "(external link)". :whistling:

 

:duff:

Wonko

:



#3 Blackcrack

Blackcrack

    Frequent Member

  • Advanced user
  • 357 posts
  •  
    Germany

Posted 2 weeks ago

ok ..



#4 Lonny

Lonny
  • Members
  • 2 posts
  •  
    China

Posted A week ago

yep, what i mean is tftpd32. not tftpd.





Also tagged with one or more of these keywords: crash

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users