[PATCH] bsdcpio core dump

Rink Springer rink at FreeBSD.org
Tue Jan 20 23:24:53 PST 2009


On Tue, Jan 20, 2009 at 10:59:28PM +0200, Giorgos Keramidas wrote:
> 55              *(char *)0 = 1; /* Deliberately segfault and force a coredump. */

Just nitpicking, but wouldn't a call to abort(3) be nicer here?

-- 
Rink P.W. Springer                                - http://rink.nu
"Chance favours the prepared mind"
- Penn


More information about the freebsd-current mailing list