i think, it was a good idea to initialize the string. but, seems, you're demaging the memory reading into the empty string laugh
allocate string with enough space to hold the data (like: STRING* line="#4000";)