[BUG] WPC_get_app_config_data returns APP_RES_INVALID_VALUE when size is bigger than max_size
vladuttuhutintemo opened this issue · 1 comments
vladuttuhutintemo commented
Describe the bug
WPC_get_app_config_data returns APP_RES_INVALID_VALUE when size is bigger than max_size.
Expected behavior
The error should be returned when the buffer is too small not when is too big. The fact that the buffer is bigger than needed should not be a problem.
GwendalRaoul commented
Thanks for opening this bug!
Yes it is clearly a bug. Fix is on review.