pgoyette e3eb5958e0 Avoid possible integer overflow and subsequent collateral damage.
Received from OpenBSD via US-CERT as VU #590371.

Original OpenBSD commit log:

> revision 1.42
> date: 2009/02/11 13:24:05;  author: otto;  state: Exp; lines: +9 -1
> Avoid level going negative on deep (i mean really deep) dirs. Reported
> by Maksymilian Arciemowicz. ok kettenis@ millert@
2009-02-28 14:34:18 +00:00
..
2009-02-23 08:27:13 +00:00
2009-02-18 13:08:22 +00:00
2009-02-16 01:19:34 +00:00
2009-02-03 12:48:00 +00:00
2009-02-16 20:55:45 +00:00
2009-02-20 16:44:06 +00:00