Change 26781, integrated into 5.8.x as 26830 can cause segfaults if Strerror(errno) returns null. This can be easily reproduced with: $> ./perl -e'$!=41; print $^E' Protocol wrong type for socket $> ./perl -e'$!=-1; print $^E' Bus error for any unknown $! value This patch fixes the problem --- mg.c.old Thu Jan 26 13:28:31 2006 +++ mg.c.new Thu Jan 26 13:30:25 2006 @@ -575,10 +575,12 @@ #define SvRTRIM(sv) STMT_START { \ STRLEN len = SvCUR(sv); \ char * const p = SvPVX(sv); \ - while (len > 0 && isSPACE(p[len-1])) \ - --len; \ - SvCUR_set(sv, len); \ - p[len] = '\0'; \ + if (p) { \ + while (len > 0 && isSPACE(p[len-1])) \ + --len; \ + SvCUR_set(sv, len); \ + p[len] = '\0'; \ + } \ } STMT_END int -------------------------------------------------------------------------------- Philippe M. Chiasson gozer@ActiveState.com GPG KeyID : 88C3A5A5 http://xrl.us/activegozer F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5Thread Next