2933935dc1
General: • New version 1.39.0 • Rebase patches as needed C (core) and C++ (cpp): • New C soversion 18 • New C++ soversion 1.39 Python: • New subpackages python3-grpcio-admin and python3-grpcio-csds
31 lines
1.5 KiB
Diff
31 lines
1.5 KiB
Diff
diff -Naur grpc-1.39.0-original/test/core/http/httpcli_test.cc grpc-1.39.0/test/core/http/httpcli_test.cc
|
|
--- grpc-1.39.0-original/test/core/http/httpcli_test.cc 2021-07-20 18:39:39.000000000 -0400
|
|
+++ grpc-1.39.0/test/core/http/httpcli_test.cc 2021-08-02 11:38:43.215629892 -0400
|
|
@@ -165,9 +165,9 @@
|
|
lslash = me + (lslash - me) - sizeof("http");
|
|
}
|
|
root = static_cast<char*>(
|
|
- gpr_malloc(static_cast<size_t>(lslash - me + sizeof("/../.."))));
|
|
+ gpr_malloc(static_cast<size_t>(lslash - me + sizeof("/.."))));
|
|
memcpy(root, me, static_cast<size_t>(lslash - me));
|
|
- memcpy(root + (lslash - me), "/../..", sizeof("/../.."));
|
|
+ memcpy(root + (lslash - me), "/..", sizeof("/.."));
|
|
} else {
|
|
root = gpr_strdup(".");
|
|
}
|
|
diff -Naur grpc-1.39.0-original/test/core/http/httpscli_test.cc grpc-1.39.0/test/core/http/httpscli_test.cc
|
|
--- grpc-1.39.0-original/test/core/http/httpscli_test.cc 2021-07-20 18:39:39.000000000 -0400
|
|
+++ grpc-1.39.0/test/core/http/httpscli_test.cc 2021-08-02 11:38:52.825572125 -0400
|
|
@@ -166,9 +166,9 @@
|
|
lslash = me + (lslash - me) - sizeof("http");
|
|
}
|
|
root = static_cast<char*>(
|
|
- gpr_malloc(static_cast<size_t>(lslash - me + sizeof("/../.."))));
|
|
+ gpr_malloc(static_cast<size_t>(lslash - me + sizeof("/.."))));
|
|
memcpy(root, me, static_cast<size_t>(lslash - me));
|
|
- memcpy(root + (lslash - me), "/../..", sizeof("/../.."));
|
|
+ memcpy(root + (lslash - me), "/..", sizeof("/.."));
|
|
} else {
|
|
root = gpr_strdup(".");
|
|
}
|