Bug 469954 - FileSystem readlink returns trailing garbage
Summary: FileSystem readlink returns trailing garbage
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.3   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: 1.3   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 10:35 EDT by Anton Leherbauer CLA
Modified: 2015-06-11 14:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Leherbauer CLA 2015-06-11 10:35:48 EDT
The FileSystem readlink command returns the symlink path with trailing garbage, because it fails to terminate the string with a null byte.
Comment 1 Martin Oberhuber CLA 2015-06-11 10:50:32 EDT
An unterminated String is a severe issue, also in terms of security. I'm afraid we will need this fixed in the agent for 1.3 .
Comment 2 Eugene Tarassov CLA 2015-06-11 14:31:57 EDT
Fixed.
Thanks!