wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

Neverending loop in dl_txt_skip_white #101

Closed lundmark closed 5 years ago

lundmark commented 5 years ago

If you enter poorly formatted data and forget to add the end ] of an array, dl_txt_skip_white seems to get stuck and never leave the loop.

The same goes if you start an array with something weird like this:

*/
         {

Or also if you start with a c-style comment ( /* ).

wc-duck commented 5 years ago

I have fixed one of these already but I guess there are more... I'll see when I can have a look!

lundmark commented 5 years ago

When did you fix it? Maybe I haven't synced that...

lundmark commented 5 years ago

I have not synced your fixes. I will reopen this if the issue still persists after update.