-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Pr 426 #427
Conversation
this issue is very significant, because not allow the proper execution of the "function redisCommandArgv". The server returns "invalid bulk length". Thanks!
@not-A-robot r+ |
📌 Commit 8655a6a has been approved by |
⚡ Test exempted - status |
Pr 426 Closes #426, now with test
This change looks incorrect to my opinion. According to case 'u':
case 'U':
case 'T':
if (next == 'u')
unum = va_arg(ap,unsigned int);
else if(next == 'U')
unum = va_arg(ap,unsigned long long);
else
unum = (unsigned long long)va_arg(ap,size_t); Hence, before patch, there was a correct format string. Now, on the contrary, it is broken at least on big endian machines where |
@vstakhov Uff, not sure I'm following. What values would produce an incorrect result here? (If you bring this up in a new issue referencing this PR I can better track it) |
You extract |
But I can't re-open a PR to track the potential bug ;) I take a look at this problem next week. Thanks for bringing it up. |
Closes #426, now with test