[PD-dev] segv when HOME not set

Tom Schouten doelie at zzz.kotnet.org
Mon Sep 15 12:19:10 CEST 2003


i tried running pd 0.37 on a stripped down linux system yesterday, and it
crashed when the HOME environment variable was not set. getenv("HOME")
returns NULL in s_path.c, function int sys_rcfile(void), which will cause
the line

strncat(fname, getenv("HOME"), MAXPDSTRING-10);

(number 308) to die.

sorry if this is already fixed, i'm running 0.37-test8

tom






More information about the Pd-dev mailing list