https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196483
--- Comment #3 from Kirk McKusick <[email protected]> --- Comment on attachment 151321 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151321 0001-HBSD-change-vfs_setopt-_part-.-s-len-type-to-check-b.patch I agree with the sentiment reported here. But it is incomplete. The type of the len field declared in struct vfsopt (declared in sys/mount.h) needs to be changed to size_t. Also the type of field len in struct mntarg (declared in kern/vfs_mount.c) needs to be changed to size_t. Another function that needs to have its len parameter changed to size_t is vfs_copyopt. In short, a pass needs to be made over kern/vfs_mount.c to make the use of len consistent throughout. Then the callers of the affected functions need to ensure that they are calling with appropriate parameters. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
