Commit d782d6e
ksmbd: remove unsafe_memcpy use in session setup
Kees pointed out to just use directly ->Buffer instead of pointing
->Buffer using offset not to use unsafe_memcpy().
Suggested-by: Kees Cook <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent 8bb04fb commit d782d6e
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | | - | |
1339 | | - | |
| 1338 | + | |
1340 | 1339 | | |
1341 | 1340 | | |
1342 | 1341 | | |
| |||
1369 | 1368 | | |
1370 | 1369 | | |
1371 | 1370 | | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1371 | + | |
1375 | 1372 | | |
1376 | 1373 | | |
1377 | 1374 | | |
| |||
1453 | 1450 | | |
1454 | 1451 | | |
1455 | 1452 | | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | | - | |
| 1453 | + | |
1460 | 1454 | | |
1461 | 1455 | | |
1462 | 1456 | | |
| |||
0 commit comments