Limiting random query to 1000 uuid's was pointless when the next line will
further restrict upper limit to 63 entries. The 63 entries is what fits to
the uuidd communication buffer with the header.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
case UUIDD_OP_BULK_RANDOM_UUID:
if (num < 0)
num = 1;
- if (num > 1000)
- num = 1000;
if ((sizeof(reply_buf) - sizeof(num)) < (size_t) (sizeof(uu) * num))
num = (sizeof(reply_buf) - sizeof(num)) / sizeof(uu);
__uuid_generate_random((unsigned char *) reply_buf +