2005-03-09 Christopher Faylor <cgf@timesys.com>
+ * net.cc (dup_ent): Avoid dereferencing a null pointer in a debug_printf.
+
+2005-03-09 Christopher Faylor <cgf@timesys.com>
+
* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
determining if there was a problem with a symlink.
if (old)
{
debug_printf ("freeing old %sent structure \"%s\" %p\n", entnames[type],
- ((unionent *) old)->name, old);
+ old ? ((unionent *) old)->name : "<null!>", old);
free (old);
}