Fix parsing of the OEM descriptions.
authorMichał Januszewski <spock@gentoo.org>
Mon, 3 Nov 2008 23:20:57 +0000 (00:20 +0100)
committerMichał Januszewski <spock@gentoo.org>
Mon, 3 Nov 2008 23:20:57 +0000 (00:20 +0100)
commita35294831cb18a936e506cf1522c79a160f37e2a
tree1bc256af7edf42d6c7c63bed4109755d687b6efd
parent88afee3dfa977f74e67a79ef5cb207402aca0121
Fix parsing of the OEM descriptions.

There is at least one known case where the OEM descriptions provided
by the Video BIOS are not valid, null-terminated strings.  Fix the
code so that even invalid data in those fields does not cause an
overflow of the buffer.
v86_common.c