Commit 7b620c2
fix: the overflow bug of the stack in deepin-devicemanager
ioctlEnableNetwork-> ioctlOperateNetworkLogicalName, in this function
directly to the user input parameter path, strcpy gives ifr.ifr_name a stack overflow
Log: overflow bug (strcpy)
Bug: https://pms.uniontech.com/bug-view-253863.html1 parent bc7a51c commit 7b620c2
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments