Commit 2bdc2c0
drm/nouveau: refactor deprecated strcpy
strcpy() has been deprecated because it performs no bounds checking on the
destination buffer, which can lead to buffer overflows. Use the safer
strscpy() instead.
Signed-off-by: Madhur Kumar <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Fixes: 15a996b ("drm/nouveau: assign fence_chan->name correctly")
Signed-off-by: Lyude Paul <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent 479acb9 commit 2bdc2c0
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments