openhpi2 / Open-HPI-base

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0 stars 1 forks source link

Incorrect OA information structure initialization #2575

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

Initialization of OA (oa_2) structure in function build_oa_soap_custom_handler() is incorrect.

File: "plugins/oa_soap/oa_soap.c"

164 oa_handler->oa_2->mutex = wrap_g_mutex_new_init(); 165 memset(oa_handler->_oa_1_->server, 0, MAX_URL_LEN); 166 oa_handler->oa_2->oh_handler = oh_handler;

Reported by: nandic

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed in checkin #7621

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan