-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix serverinfo overflow - reduce version cvar #31
Fix serverinfo overflow - reduce version cvar #31
Conversation
Mitigate the serverinfo overflow issue by reducing the version cvar length which is somewhat longer than the official engine by 33 chars. - Abbreviate PRODUCT_NAME to match official (will affect pid filenames) - Remove redundant product name from makeFile VERSION - Reduce git info to rev alone (commit date can be inferred from hash) Mitigates mickael9#30
The **q** in ioq3 is always lowercase!
Looks good to me 👍 |
Hah 😮 weird, i'm surprised how biddy is able to commit to my fork. Is this some new github thing where there are soft priviledges through PRs? handy I guess. |
If you check the |
@@ -474,7 +474,7 @@ int Q_isnan(float x); | |||
#endif | |||
/* | |||
// if your system does not have lrintf() and round() you can try this block. Please also open a bug report at bugzilla.icculus.org | |||
// or write a mail to the ioq3 mailing list. | |||
// or write a mail to the 3 mailing list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
He didn't fix the typo, did he? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya this might be getting too terse :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh snap, dunno how that ioq3 changed into a 3. Must have been a fail when searching all the ioq3 occurences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darn regexp failures 😄
Karnute's (separate) patch should handle actual overflows more gracefully, but this still helps mitigate the chance of it happening a little bit.
Fixes #30