Alex Lyakas - Zadara Storage

Results 5 issues of Alex Lyakas - Zadara Storage

It does: ``` def import_label(source): data = { "name": source['name'], "color": source['color'] } result_label = send_request('target', "labels", source) ``` but it should do: ``` result_label = send_request('target', "labels", data) ```

It may happen that when we enter this function, we already have request->status != S3StatusOk. Then we call curl_easy_getinfo(CURLINFO_RESPONSE_CODE) and we receive httpResponseCode=200. As a result, we will call the...

base64Encode expects an output buffer whose size is ((4 \* (inLen + 1)) / 3) bytes, as per comment. But for the input buffer of size 16, it overruns it....

``` diff --git a/rdma/ibverbs.pyx b/rdma/ibverbs.pyx index 16891a6..59bddf0 100644 --- a/rdma/ibverbs.pyx +++ b/rdma/ibverbs.pyx @@ -108,7 +108,7 @@ cdef to_ah_attr(c.ibv_ah_attr *cattr, object attr): raise TypeError("attr.grh must be a global_route") if not isinstance(attr.grh.dgid,...

``` diff --git a/rdma/libibverbs.pxd b/rdma/libibverbs.pxd index 055a6d1..3ff90b1 100644 --- a/rdma/libibverbs.pxd +++ b/rdma/libibverbs.pxd @@ -6,7 +6,7 @@ include 'libibverbs_enums.pxd' cdef extern from 'infiniband/verbs.h': union ibv_gid: - char raw[16] + unsigned char...