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

[Hints engine] присвоение userInfo 4294967297 не вызывает ошибки #17

Open
ginz opened this issue Sep 28, 2014 · 0 comments

Comments

@ginz
Copy link

ginz commented Sep 28, 2014

При посылке запроса ('_' => 'hints.setInfo', 'user_id' => <any correct user_id>, 'info' => 4294967297), должна вызываться та же ошибка, что и при присвоении любого другого некорректного значения:

array(2) {
  ["result"]=>
  bool(false)
  ["_"]=>
  string(1) "_"
}

Но возвращается некорректный положительный ответ:

array(2) {
  ["result"]=>
  bool(true)
  ["_"]=>
  string(1) "_"
}

После этих действий, info выставляется в 1 (== 4294967297 mod (2^32))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant