⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 177

📁 Unix/Linux 网络时间协议版本3 Network Time Protocol Version 3 (NTP) distribution for Unix systems
💻
字号:
Received: from mail.eecis.udel.edu by whimsy.udel.edu id aa25982;          17 Feb 1998 10:51 ESTReceived: (from juha@localhost)	by samuraj.c3l.tyreso.se (8.8.5/8.8.5) id QAA10142;	Tue, 17 Feb 1998 16:51:13 +0100Date: Tue, 17 Feb 1998 16:51:13 +0100From: Juha Sarlin <juha@c3l.tyreso.se>Message-Id: <199802171551.QAA10142@samuraj.c3l.tyreso.se>To: stenn@whimsy.udel.eduCc: mills@huey.udel.eduSubject: Multicast client fix for xntp3-5.92Mime-Version: 1.0Content-Type: text/plain; charset=US-ASCIIWhen a multicast server becomes unreachable its peer structure isfreed in transmit(), but later that function queues another timerevent on the removed peer. Next time unpeer() is called with thisalready freed peer structure, it dies on a NULL dereference.*** xntpd/ntp_proto.c.orig	Fri Oct 10 03:36:48 1997--- xntpd/ntp_proto.c	Tue Feb 17 01:12:48 1998****************** 257,264 ****  					peer_clear(peer);  					peer->timereachable = current_time;  				}! 			} else if (peer->flags & FLAG_MCAST2)  				unpeer(peer);    			/*  			 * While we have a chance, if our system peer is--- 257,266 ----  					peer_clear(peer);  					peer->timereachable = current_time;  				}! 			} else if (peer->flags & FLAG_MCAST2) {  				unpeer(peer);+ 				return;+ 			}    			/*  			 * While we have a chance, if our system peer is*** xntpd/ntp_peer.c.orig	Tue Jul 15 07:32:45 1997--- xntpd/ntp_peer.c	Tue Feb 17 01:12:48 1998****************** 324,330 ****  		if (peer == 0) {  			peer_hash_count[hash]++;  			msyslog(LOG_ERR, "peer struct for %s not in table!",! 			    ntoa(&peer->srcadr));  		} else {  			peer->next = peer_to_remove->next;  		}--- 324,330 ----  		if (peer == 0) {  			peer_hash_count[hash]++;  			msyslog(LOG_ERR, "peer struct for %s not in table!",! 			    ntoa(&peer_to_remove->srcadr));  		} else {  			peer->next = peer_to_remove->next;  		}****************** 348,354 ****  			assoc_hash_count[hash]++;  			msyslog(LOG_ERR,  			    "peer struct for %s not in association table!",! 			    ntoa(&peer->srcadr));  		} else {  			peer->ass_next = peer_to_remove->ass_next;  		}--- 348,354 ----  			assoc_hash_count[hash]++;  			msyslog(LOG_ERR,  			    "peer struct for %s not in association table!",! 			    ntoa(&peer_to_remove->srcadr));  		} else {  			peer->ass_next = peer_to_remove->ass_next;  		}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -