pass the exact lenght of release_id in to xstrndup to avoid memory corruption on aix