[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: Two seg faults with slightly different loop structures.
From: |
Ben Pfaff |
Subject: |
Re: PSPP-BUG: Two seg faults with slightly different loop structures. |
Date: |
Tue, 19 Dec 2006 07:25:47 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Here's a fix:
--- loop.c.~1.13.~ 2006-12-16 13:15:28.000000000 -0800
+++ loop.c 2006-12-19 07:24:28.000000000 -0800
@@ -97,7 +97,7 @@ int
cmd_loop (struct lexer *lexer, struct dataset *ds)
{
struct loop_trns *loop;
- char index_var_name[LONG_NAME_LEN + 1];
+ char index_var_name[LONG_NAME_LEN + 1] = "";
bool ok = true;
loop = create_loop_trns (ds);
--
"Welcome to the Slippery Slope. Here is your handbasket.
Say, can you work 70 hours this week?"
--Ron Mansolino