HADOOP-11848. Incorrect arguments to sizeof in DomainSocket.c (Malcolm Kavalsky via Colin P. McCabe)
(cherry picked from commit a3b1d8c902
)
This commit is contained in:
parent
71c9f2f4e7
commit
72b706a1b0
|
@ -95,6 +95,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HADOOP-11859. PseudoAuthenticationHandler fails with httpcomponents v4.4.
|
||||
(Eugene Koifman via jitendra)
|
||||
|
||||
HADOOP-11848. Incorrect arguments to sizeof in DomainSocket.c
|
||||
(Malcolm Kavalsky via Colin P. McCabe)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -153,7 +153,7 @@ static jthrowable setup(JNIEnv *env, int *ofd, jobject jpath, int doConnect)
|
|||
terror(ret));
|
||||
goto done;
|
||||
}
|
||||
memset(&addr, 0, sizeof(&addr));
|
||||
memset(&addr, 0, sizeof(addr));
|
||||
addr.sun_family = AF_UNIX;
|
||||
cpath = (*env)->GetStringUTFChars(env, jpath, NULL);
|
||||
if (!cpath) {
|
||||
|
|
Loading…
Reference in New Issue