ITADN

bug(realpath): when a filename larger it do not error out

#13154OpenHackingRepo 创建于 2026-06-28
H
HackingRepocommented
Hi, uutils mainteners we confirmed the realpath utility not error out when the filename is longer than the filename maxium, as i confirmed ```css relunsec@relunsec:~/software/coreutils/target/debug$ ./realpath $(python3 -c 'print("A"*256)') /home/relunsec/software/coreutils/target/debug/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA relunsec@relunsec:~/software/coreutils/target/debug$ gnurealpath $(python3 -c 'print("A"*256)') gnurealpath: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA: File name too long relunsec@relunsec:~/software/coreutils/target/debug$ ```
1 条评论