[PATCH] remove NULL pointers from vfs_ops struct
Stefan (metze) Metzmacher
metze at metzemix.de
Tue May 13 14:35:27 GMT 2003
At 07:08 13.05.2003 -0700, Esh, Andrew wrote:
>Just to be sure I understand: Will the registration function will safely
>indicate a failure if it reaches a null before it reaches the end of a full
>length vfs ops structure? If that length check is not being done, the code
>could accept a short table. Calls to functions appearing later in the
>structure would cause undefined results.
the modules doesn't register a vfs_ops struct anymore,
they register an array of vfs_op_tuple structs...
metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
More information about the samba-technical
mailing list