Commit 5ad25f8
committed
Fixed length checking in StatFile
If a symlink resolves to a path that is longer than the maximum allowed by the protocol, currently 4088 bytes, then an error response is generated.
Previously the server side would ignore an error from SendTransaction() due to the large size and the client-side would hang/timeout waiting for a response.
Ticket: ENT-13542
Changelog: title1 parent 44bb0c4 commit 5ad25f8
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
877 | 883 | | |
878 | 884 | | |
879 | | - | |
880 | | - | |
| 885 | + | |
881 | 886 | | |
882 | 887 | | |
883 | 888 | | |
| |||
0 commit comments