+4218. [bug] Potential null pointer dereference on out of memory if mmap is not supported. [RT #40777]
+
4217. [protocol] Add support for CSYNC. [RT #40532]
4216. [cleanup] Silence static analysis warnings. [RT #40649]
len = end - offset;
buf = malloc(len);
+ if (buf == NULL)
+ return (NULL);
+
ret = read(fd, buf, len);
if (ret != (ssize_t) len) {
free(buf);
len = end - offset;
buf = malloc(len);
+ if (buf == NULL)
+ return (NULL);
+
ret = read(fd, buf, (unsigned int) len);
if (ret != (ssize_t) len) {
free(buf);