summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
52d955f)
When a backend->read() is not implement or returns -1,
This -1 is interpreted as unsigned int resulting
in an access far behind the buffer.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
while (1) {
len = uclient_read(cl, buf, sizeof(buf));
while (1) {
len = uclient_read(cl, buf, sizeof(buf));
return;
out_bytes += len;
return;
out_bytes += len;