On Fri, 19 Sep 2003 20:32:56 -0500
Bob Tanner <[EMAIL PROTECTED]> wrote:

> Compiling arts without distcc works fine. Compiling with distcc and gcc(?) 
> segfaults.

Thanks for the report.

Could you please try to get a core file from the crash, if you can
reproduce it, and then use gdb to get a backtrace?

Could you also please try this patch?

--- compress.c.~1.21.~  1970-01-01 10:00:01.000000000 +1000
+++ compress.c  2003-09-20 16:38:13.000000000 +1000
@@ -271,8 +271,8 @@ int dcc_r_bulk_lzo1x(int out_fd, int in_
     }
 
     out_len = out_size;
-    lzo_ret = lzo1x_decompress((lzo_byte*)in_buf, in_len,
-                               (lzo_byte*)out_buf, &out_len, work_mem);
+    lzo_ret = lzo1x_decompress_safe((lzo_byte*)in_buf, in_len,
+                                    (lzo_byte*)out_buf, &out_len, work_mem);
     if (lzo_ret != LZO_E_OK) {
         rs_log_error("LZO1X1 decompression failed: %d", lzo_ret);
         ret = EXIT_IO_ERROR;

--
Martin
__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to