The workaround is of course dependent on what was returned (which might be random) Try size_t uhlen = 1024 * 1024; to see whether problem disappears.
The workaround is of course dependent on what was returned (which might be random)
Try
size_t uhlen = 1024 * 1024;
to see whether problem disappears.