Skip to content

Conversation

@geunwoonoh
Copy link
Collaborator

As mentioned in #12, The following bugs in the Web FTP system have been addressed:

  • list command could cause a stack overflow if there is no depth limit.
    • Exception handling has been added for cases where depth exceeds the limit.
  • The absence of exception handling for symbolic links could lead to a stack overflow.
    • Exception handling for symbolic links has been added.

To prevent stack overflows caused by
excessively large depth values in list command,
add exception handling.
If depth exceeds 3, an error response is returned.
To avoid errors caused by recursive behavior of
listRecursive() on symbolic links, add exception
handling specifically for symbolic links.
To accommodate the front-end team's
requests, add new error types and fields.
@geunwoonoh geunwoonoh added bug Something isn't working enhancement New feature or request labels Nov 15, 2024
@geunwoonoh geunwoonoh self-assigned this Nov 15, 2024
@geunwoonoh geunwoonoh linked an issue Nov 15, 2024 that may be closed by this pull request
Apply golint
@royroyee royroyee merged commit e2ca5bf into main Nov 18, 2024
1 check passed
@royroyee royroyee deleted the 12-add-exception-handling-to-list-of-web-ftp-command branch November 18, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add exception handling to list of Web FTP Command

3 participants