9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fossil/flchk crash
@ 2003-07-22 15:20 andrey mirtchovski
  0 siblings, 0 replies; only message in thread
From: andrey mirtchovski @ 2003-07-22 15:20 UTC (permalink / raw)
  To: 9fans

fossil/flchk crashes with division by zero if a bad cache blocks count is
given as an argument.

here's a diff:

plan9% diff flchk.c /sys/src/cmd/fossil/flchk.c
57,58d56
< 		if(csize == 0)
< 			usage();
plan9%



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-22 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 15:20 [9fans] fossil/flchk crash andrey mirtchovski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).