xover problem in 0.93UL1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Julian:
	You forgot to include the line

		xf->outbuf_used = 0;

in xf_release_writer.  This caused a segfault in xover_input:

		memcpy (xf->outbuf + xf->outbuf_used, p, len);

Here's the patch to put it in.
-- 
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites
--
--- xover.c.orig	Sat Oct  5 14:44:52 1996
+++ xover.c	Sun Oct  6 17:01:32 1996
@@ -315,6 +315,7 @@
 	{
 		free (xf->outbuf);
                 xf->outbuf = NULL;
+                xf->outbuf_used = 0;
         }
 	if (xf->locked)
 	{


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux