]> Zhao Yanbai Git Server - minix.git/commit
libc/sys-minix/mount.c: fix overflow 68/1168/4
authorLionel Sambuc <lionel@minix3.org>
Tue, 19 Nov 2013 14:26:47 +0000 (15:26 +0100)
committerLionel Sambuc <lionel@minix3.org>
Sun, 2 Mar 2014 11:28:32 +0000 (12:28 +0100)
commita00e322bea19582f58a947992ead5bf49ab9caae
tree91f8e1c53aac2d08b634ea33b8ec891cb23afd2b
parentc9072ba0bb603f46220496822ab00a1a44e4e424
libc/sys-minix/mount.c: fix overflow

Fix a bug where a filesystem label could overflow the reserved buffer.
This was already possible with 32 bits values, but is more proeminent
with dev_t being 64 bits.

Change-Id: Idc04ed355d1dd92b7a8ce4699de832661a5c4ccd
include/minix/mount.h
lib/libc/sys-minix/mount.c