Will push a fix that simply extends that local buffer in the same fashion (max link field length + 20, as before).
It would actually be better to fix all the strcpy() to strncpy(), but with the different sprintf() format strings for each link type (where the max length for the %s would have to be calculated for each instance) things just get too messy, and I much prefer the simple fix.
In 3.16, where the link field length is not restricted, this code has to be re-engineered anyway.
Will push a fix that simply extends that local buffer in the same fashion (max link field length + 20, as before).
It would actually be better to fix all the strcpy() to strncpy(), but with the different sprintf() format strings for each link type (where the max length for the %s would have to be calculated for each instance) things just get too messy, and I much prefer the simple fix.
In 3.16, where the link field length is not restricted, this code has to be re-engineered anyway.