Commit 04afb0a
ksmbd: Use struct_size() to improve get_file_alternate_info()
Use struct_size() to calculate the output buffer length.
Signed-off-by: Thorsten Blum <[email protected]>
Acked-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent 9852d85 commit 04afb0a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4883 | 4883 | | |
4884 | 4884 | | |
4885 | 4885 | | |
4886 | | - | |
| 4886 | + | |
4887 | 4887 | | |
4888 | 4888 | | |
4889 | 4889 | | |
| |||
0 commit comments