If the rc variable is not initialized then there is a execution path who return whatever is in rc. Of course everything fail afterward as rc NEVER contain what we really expect by default.
This commit was SVN r3014.
Этот коммит содержится в:
родитель
7bd8f14978
Коммит
1777c361e9
@ -23,7 +23,7 @@ int mca_oob_tcp_recv(
|
||||
int flags)
|
||||
{
|
||||
mca_oob_tcp_msg_t *msg;
|
||||
int i, rc, size = 0;
|
||||
int i, rc = 0, size = 0;
|
||||
int tag = (tagp != NULL) ? *tagp : MCA_OOB_TAG_ANY;
|
||||
|
||||
if(mca_oob_tcp_component.tcp_debug > 1) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user