crash with betty.userland.com, integer = 0
Brought to you by:
adedov
Library crashed if asked betty.userland.com:80/RPC2 , method examples.getStateName, with 1 integer argument = 0. With other values in works.
~~~~C++
iqxmlrpc::Client_base* retval = new Client<http_client_connection>(iqnet::Inet_addr("betty.userland.com", 80), "/RPC2");
retval->set_timeout(500);
Param_list pl;
pl.push_back(Value(0));
Response retval2(retval->execute("examples.getStateName", pl));</http_client_connection>
Confirmed bug in parser. Thanks.
Should be fixed now: https://github.com/adedov/libiqxmlrpc/commit/c10d2c4f73d65d1e72ed0924f2e47bf98838404a
Will release new version with fixes for other your requests.
Thanks a lot!