]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctly calculate a buffer length. It was off by one so a read() returned
authornetchild <netchild@FreeBSD.org>
Tue, 27 Jun 2006 20:21:38 +0000 (20:21 +0000)
committernetchild <netchild@FreeBSD.org>
Tue, 27 Jun 2006 20:21:38 +0000 (20:21 +0000)
commit1fbdab64b8df2ef5c7d7df24551c7d2db91b318c
tree1b94287d73824df5aefeaeee985e654ea185b5a5
parentb9c4ec80c0afb1e149ed816a51422af63686a225
Correctly calculate a buffer length. It was off by one so a read() returned
one byte less than needed.

This is a RELENG_x_y candidate, since it fixes a problem with Oracle 10.

Noticed by: Dmitry Ganenko <dima@apk-inform.com>
Testcase by: Dmitry Ganenko <dima@apk-inform.com>
Reviewed by: des
Submitted by: rdivacky
Sponsored by: Google SoC 2006
MFC after: 1 week
sys/fs/pseudofs/pseudofs_vnops.c