[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 620]  New: wrong check in ntpdc.c line 765
From:       bugzilla () ntp ! isc ! org
Date:       2006-05-23 15:43:49
Message-ID: 20060523154349.E1163398A4 () ntp2 ! ntp ! isc ! org
[Download RAW message or body]

http://bugs.ntp.isc.org/620

           Summary: wrong check in ntpdc.c line 765
           Product: ntp
           Version: 4.2.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ntpdc
        AssignedTo: rayvt@ntp.org
        ReportedBy: bos@rdcs.at
                CC: bugs@ntp.isc.org


file: ntpdc.c,
from ntp-stable-4.2.0a-20060224

#761    /*
#762     * If this isn't our first packet, make sure the size matches
#763     * the other ones.
#764     */
#765    if (!firstpkt && esize != *rsize) {
#766        if (debug)
#767            printf("Received itemsize %d, previous %d\n",
#768               size, *rsize);
#769        goto again;
#770    }


#765 should be

if (!firstpkt && size != *rsize) {

instead of

if (!firstpkt && esize != *rsize) {

-- 
Sebastian Bohmann <bos@rdcs.at>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bugs mailing list
bugs@lists.ntp.isc.org
https://lists.ntp.isc.org/mailman/listinfo/bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic