Commit e86e50e
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) (latest change)
Bug: https://pms.uniontech.com/bug-view-253863.html1 parent 7b620c2 commit e86e50e
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments