{
int ret;
- if (count < 0 || count >= (1 << 16)) {
+ if (count >= (1 << 16)) {
ret = -1;
goto end;
}
{
int ret;
- if (count < 0 || count >= (1 << 16)) {
+ if (count >= (1 << 16)) {
ret = -1;
goto end;
}
{
int ret;
size_t length = strlen(str);
- if (length < 0 || length >= (1 << 16)) {
+
+ if (length >= (1 << 16)) {
ret = -1;
goto end;
}