From: Joerg Reuter (swjixxv@inter-tel.com)
Date: Mon Jun 11 2001 - 12:40:23 EEST
Hi,
it pays to read ChangeLogs thoroughly... Alan mentions
o Fix writing to freed memory in ax25_ip
in his notes for the 2.4.5-ac kernel series. And indeed:
--- linux.vanilla/net/ax25/ax25_ip.c Fri Dec 29 22:35:47 2000
+++ linux.ac/net/ax25/ax25_ip.c Thu May 24 23:20:42 2001
@@ -160,7 +160,7 @@
dst_c = *dst;
skb_pull(ourskb, AX25_HEADER_LEN - 1); /* Keep PID */
- skb->nh.raw = skb->data;
+ ourskb->nh.raw = ourskb->data;
ax25_send_frame(ourskb, ax25_dev->values[AX25_VALUES_PACLEN], &src_c, &dst_c, route->digipeat, dev);
(Careful: patch cut & pasted, whitespaces damaged)
Ouch. Kudos to the person who found it.
73,
-- Joerg Reuter http://yaina.de/jreuter And I make my way to where the warm scent of soil fills the evening air. Everything is waiting quietly out there.... (Anne Clark)
This archive was generated by hypermail 2b30 : Mon Jun 11 2001 - 12:46:15 EEST