mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 06:07:00 +00:00
Bug spotted by Kumar Gala. Hopefully this fixes it...
This commit is contained in:
parent
07a637df47
commit
20fef96dd8
@ -475,8 +475,9 @@ int mount_main(int argc, char **argv)
|
|||||||
|
|
||||||
// Get next fstab entry
|
// Get next fstab entry
|
||||||
|
|
||||||
if (!getmntent_r(fstab, mtcur, bb_common_bufsiz1,
|
if (!getmntent_r(fstab, mtcur, bb_common_bufsiz1
|
||||||
sizeof(bb_common_bufsiz1)))
|
+ (mtcur==mtpair ? sizeof(bb_common_bufsiz1)/2 : 0),
|
||||||
|
sizeof(bb_common_bufsiz1)/2))
|
||||||
{
|
{
|
||||||
// Were we looking for something specific?
|
// Were we looking for something specific?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user