Commit 90220ca
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 90220ca
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
| 735 | + | |
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
| |||
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
877 | 885 | | |
878 | 886 | | |
879 | | - | |
880 | | - | |
| 887 | + | |
| 888 | + | |
881 | 889 | | |
882 | 890 | | |
883 | 891 | | |
| |||
0 commit comments