This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ECOS] Bugs in path handling for JFFS2, RAMFS and ROMFS


Hello,

I found 2 bugs in path handling for JFFS2, RAMFS and ROMFS.

BUG 1 : Multi '/' path.
Description :
If you use path with multi '/' that doesn't work.
i.e : chdir("/tmp////tmp")


BUG 2 : '/' terminated path.
If you use path terminated with a '/' that doesn't work.
i.e : chdir("/tmp/")

Proposed patchs fixe this issues.

Regards

Vincent CATROS
ELIOS Informatique
http://www.elios-informatique.fr

Attachment: diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]