Commit db9c7b1
committed
bug #54471 [Filesystem] Strengthen the check of file permissions in
This PR was merged into the 5.4 branch.
Discussion
----------
[Filesystem] Strengthen the check of file permissions in `dumpFile`
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #54444
| License | MIT
`fileperms()` can fail and return `false`, I think we should strengthen the checks on its return value when using it to avoid undesirable behavior.
Commits
-------
0c17a4e327 [Filesystem] Strengthen the check of file permissions in `dumpFile`dumpFile (alexandre-daubois)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
694 | | - | |
| 694 | + | |
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| |||
0 commit comments