wind: Do not perform arithmetic on a NULL pointer
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Nico Williams

parent
ed798da1f2
commit
db70a76074
@@ -220,8 +220,8 @@ wind_ucs4utf8(const uint32_t *in, size_t in_len, char *out, size_t *out_len)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
out += len;
|
||||
}
|
||||
out += len;
|
||||
}
|
||||
if (out) {
|
||||
if (o + 1 >= *out_len)
|
||||
|
Reference in New Issue
Block a user