Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBUG_VM build only: Quake 3 COM_Parse() function is using global variables #18

Open
jnz opened this issue Sep 21, 2018 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jnz
Copy link
Owner

jnz commented Sep 21, 2018

If compiled with the DEBUG_VM define, the COM_Parse() function is using some global variables to parse strings in vm.c:

  • com_token
  • com_lines
  • com_tokenline

This is probably not thread safe if several .map files are loaded at the same time in different threads.

@jnz jnz added the bug Something isn't working label Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant