-
Notifications
You must be signed in to change notification settings - Fork 132
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
"nesting_level" class level variable in ParserCore class should be atomic to avoid data inconsistency. #46
Comments
Yeah If you want to send a pull request please go ahead, otherwise I will send in the patch tomorrow. |
bro .I found that HeaderParser class does not have condition as debug enabled or not. and it directly invoke dbg_enter("wkday"); method. I dont know how many class like this. |
Ouch. Good catch. Alright, I couldn't find other classes either by scanning quickly. I will figure something else out. Feel free to make a pull request for both anyway. Thanks. |
…in non-debug mode (cherry picked from commit 113ac3304d9515afcf5207c2a1eb0cc8b6e588c1)
…in non-debug mode (cherry picked from commit 60a7e27030468d20cd0c88040b955b179797a928)
I was testing our voip java application with jain-sip-sdp-1.2.111. After two months,parsing didnt happened because of nesting_level had gone minus value.i just checked source code.it seems that nesting_level variable are static variable.
The text was updated successfully, but these errors were encountered: