[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in libsh/interpret.c (line 2040 or so)



        if (command->rval != NULL) {
                if (caller != NULL)
                        /*
                         * XXXX: note: there is no guarantee of non-overlap.
                         * This is done on a wing and a prayer...
                         */
                        oval = stickymem;
                        stickymem = MEM_TEMP;
                        caller->rval = s_copy_tree(command->rval);
                        stickymem = oval;
        }


I strongly suspect that there are some braces missing here..!

-- 
All the troubles of man come from his not knowing how to sit still.
                                        -- Pascal
-- 
Matthias Urlichs  --  urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de   /(o\
Humboldtstrasse 7 -- 7500 Karlsruhe 1 -- Germany  --  +49-721-9612521     \o)/