Menu

#1 The get_tok function is unnecessarily unreentrant

open
nobody
None
5
2011-05-09
2011-05-09
Amatus
No

The get_tok function declares data as static char * when it only needs to be char *. It also limits the size of data unnecessarily. I'm thinking data used to be allocated statically and was changed to dynamic but the code was not cleaned up.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.