Commit d112118
committed
get_exec_info: error out if we run out of space rewriting pathname
Since proc_read_link() is destructive on error we could end up with
missing NUL terminator in the rewritten pathname.
Coverity CID 560390.1 parent ec12f0f commit d112118
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | | - | |
1124 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1125 | 1130 | | |
1126 | 1131 | | |
1127 | 1132 | | |
| |||
0 commit comments