Menu

#10 mrtd crashes

open
nobody
Code (23)
5
2000-09-11
2000-09-11
Anonymous
No

Hi,

I run mrtd in Red Hat Linux 6.2, when I do the following commands in UII, it just crashes,

1) config
2) debug

Tony

Discussion

  • Tony Yat-Tung Cheung

    It is submitted by me. (ytcheung@technologist.com)

     
  • Tony Yat-Tung 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

     
  • Tony Yat-Tung 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

     

Log in to post a comment.