diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-10-13 14:40:00 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-10-13 14:40:00 +0000 |
commit | b366d417903edcb381e3528834b44441dd607fd4 (patch) | |
tree | 1ed7cf11dda85767a96609d20fa588e767b6115c /lib/libcrypt/crypt.c | |
parent | 6981999a42afe5af0e2c5d70fe91d5bc7e15ff93 (diff) | |
download | FreeBSD-src-b366d417903edcb381e3528834b44441dd607fd4.zip FreeBSD-src-b366d417903edcb381e3528834b44441dd607fd4.tar.gz |
vt(4): Don't recalculate buffer size if we don't know screen size
(MFC of r272537)
When the screen size is unknown, it's set to 0x0. We can't use that as
the buffer size, otherwise, functions such as vtbuf_fill() will fail.
This fixes a panic on RaspberryPi, where there's no vt(4) backend
configured early in boot.
PR: 193981
Tested by: danilo@
Diffstat (limited to 'lib/libcrypt/crypt.c')
0 files changed, 0 insertions, 0 deletions