Skip to content

Fix SFTP_GetAttributes with fatfs for root#974

Open
J-Goldacker wants to merge 1 commit into
wolfSSL:masterfrom
HOPPECKE-Systemtechnik:Fix-SFTP_GetAttributes-with-fatfs-for-root
Open

Fix SFTP_GetAttributes with fatfs for root#974
J-Goldacker wants to merge 1 commit into
wolfSSL:masterfrom
HOPPECKE-Systemtechnik:Fix-SFTP_GetAttributes-with-fatfs-for-root

Conversation

@J-Goldacker
Copy link
Copy Markdown

@J-Goldacker J-Goldacker commented May 12, 2026

After updating Filezilla to 3.70.5 (from 3.69.1) we got an error message during reception of the directory content. Connecting to a home directory not being root works. (This took us a while to find out.)

We tracked it down to SFTP_GetAttributes where f_stat is called for "/". f_stat doesn't support this and returns FR_INVALID_NAME. Interestingly, the code handling this is mainly there. But the function returns too early.

@wolfSSL-Bot
Copy link
Copy Markdown

Can one of the admins verify this patch?

@dgarske
Copy link
Copy Markdown
Member

dgarske commented May 12, 2026

Hi @J-Goldacker , I don't see you on our approved contributor list. Can you tell us more about your project and use of wolfSSH? For such a small change we may treat this as a bug report. I've assigned this PR to @ejohnstown who is the project owner and can review and decide. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants