dmacvicar / ruby-sfcc

ruby bindings for sblim client
MIT License
6 stars 6 forks source link

test_sfcc_cim_client.rb crashes with '*** buffer overflow detected ***: ruby terminated' #1

Open kkaempf opened 14 years ago

kkaempf commented 14 years ago

Ruby-sfcc testsuite runs fine on openSUSE 11.2 (i586) with packages from systemsmanagement:wbem. Except for test_sfcc_cim_client.rb.

The backtrace shows sfcc_rb_raise_if_error+0xbd

Installing -debug packages now ...

kkaempf commented 14 years ago

sfcc_rb_raise_if_error is called like printf() from delete_instance() but doesn't implement printf() (resp. vaprintf) ?!

kkaempf commented 14 years ago

Its seems to be triggered from test: a running CIMOM with no auth should be able to get reference names for an instance.

kkaempf commented 14 years ago

Its rb_scan_args in reference_names of cim_client.c You pass a "14" format string but only 3 variables !

kkaempf commented 14 years ago

Uhm, how do I upload a patch here ... sending by mail instead ;-)