Loading media/libmedia/IMediaHTTPConnection.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,14 @@ struct BpMediaHTTPConnection : public BpInterface<IMediaHTTPConnection> { return UNKNOWN_ERROR; } size_t len = reply.readInt32(); int32_t lenOrErrorCode = reply.readInt32(); // Negative values are error codes if (lenOrErrorCode < 0) { return lenOrErrorCode; } size_t len = lenOrErrorCode; if (len > size) { ALOGE("requested %zu, got %zu", size, len); Loading Loading
media/libmedia/IMediaHTTPConnection.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,14 @@ struct BpMediaHTTPConnection : public BpInterface<IMediaHTTPConnection> { return UNKNOWN_ERROR; } size_t len = reply.readInt32(); int32_t lenOrErrorCode = reply.readInt32(); // Negative values are error codes if (lenOrErrorCode < 0) { return lenOrErrorCode; } size_t len = lenOrErrorCode; if (len > size) { ALOGE("requested %zu, got %zu", size, len); Loading