The problem lies in uii_call_callback_fn (uii_connection_t * uii, uii_command_t * candidate). The nargs is somehow set to equal to 1, instead of 0, and "ret = candidate->call_fn (uii, args[0]);" is executed with args[0] being a NULL pointer.
I am not sure why nargs is set to 1, instead of 0. Any suggestion to solve the bug?
Thanks.
Tony Cheung
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem lies in uii_call_callback_fn (uii_connection_t * uii, uii_command_t * candidate). The nargs is somehow set to equal to 1, instead of 0, and "ret = candidate->call_fn (uii, args[0]);" is executed with args[0] being a NULL pointer.
I am not sure why nargs is set to 1, instead of 0. Any suggestion to solve the bug?
Thanks.
Tony Cheung
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is submitted by me. (ytcheung@technologist.com)
Hi,
I've done some tracing.
The problem lies in uii_call_callback_fn (uii_connection_t * uii, uii_command_t * candidate). The nargs is somehow set to equal to 1, instead of 0, and "ret = candidate->call_fn (uii, args[0]);" is executed with args[0] being a NULL pointer.
I am not sure why nargs is set to 1, instead of 0. Any suggestion to solve the bug?
Thanks.
Tony Cheung
Hi,
I've done some tracing.
The problem lies in uii_call_callback_fn (uii_connection_t * uii, uii_command_t * candidate). The nargs is somehow set to equal to 1, instead of 0, and "ret = candidate->call_fn (uii, args[0]);" is executed with args[0] being a NULL pointer.
I am not sure why nargs is set to 1, instead of 0. Any suggestion to solve the bug?
Thanks.
Tony Cheung