RTEMS | shell: Check getcwd() return value in pwd command (!1554)
Joel Sherrill (@joel)
gitlab at rtems.org
Tue Nov 3 22:14:30 UTC 2026
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1554 was reviewed by Joel Sherrill
--
Joel Sherrill started a new discussion on cpukit/libmisc/shell/main_pwd.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1554#note_161822
> char dir[1024];
>
> - getcwd(dir,1024);
While you are here, this should be PATH_MAX not a hard-coded number. Please make it a separate commit in the same MR.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1554
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-eh27ws3wzoch8qay5nek6uh28-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261103/51a2575f/attachment.htm>
More information about the bugs
mailing list