Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I admit to a certain lack of understanding the twisty maze of pointers
and memory mapping magic at play here, but is simply checking the length
enough?  That is, what happens if I pass in a structure that is smaller
than expected?

That is, is there a way to check the actual size of the data passed into
the ioctl, rather than the field in the structure we expect, or is that
done at a higher level?

- --Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz6t6EACgkQl6Nz7kJWYWYUgwCdHHji8pLUST6OEFF99rSmMaXM
YYUAnjeUp95LWR7JSyYB+3tGBfCZARbD
=2Pxk
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index