(_dl_signal_error): If malloc failed, set objname to "", because it might
authordrepper <drepper>
Sat, 9 Dec 2000 00:01:55 +0000 (00:01 +0000)
committerdrepper <drepper>
Sat, 9 Dec 2000 00:01:55 +0000 (00:01 +0000)
point to local stack.

elf/dl-error.c

index 1c6de64..83d984f 100644 (file)
@@ -88,7 +88,7 @@ _dl_signal_error (int errcode, const char *objname, const char *errstring)
       else
        {
          /* This is better than nothing.  */
-         lcatch->objname = objname;
+         lcatch->objname = "";
          lcatch->errstring = _dl_out_of_memory;
        }
       longjmp (lcatch->env, errcode ?: -1);