Correction of passed buffer size to readlink and verification of result return by readlink.