Commit a0593ad
committed
sharedfp/lockedfile: do not limit filename length
The sharedfp/lockedfile component had a temp. buffer of size 256 characters for generating a temp. file for testing the file locking feature during file open. For very long filenames, that was not sufficient.
Switch to an asprintf based method instead of a fixed namelen to resolve the issue.
Fixes issue #13565
Signed-off-by: Edgar Gabriel <[email protected]>1 parent dd6a7a3 commit a0593ad
File tree
1 file changed
+3
-3
lines changed1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
120 | | - | |
| 119 | + | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
160 | 159 | | |
161 | 160 | | |
162 | 161 | | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments