[ic] vlink MINIVEND_SOCKET patch
Jon Jensen
jon at endpoint.com
Tue May 5 15:20:33 UTC 2020
On Wed, 6 May 2020, Peter wrote:
> compile_link is documented to allow the path to the socket in vlink to
> be overridden with the MINIVEND_SOCKET environment variable, but this
> functionality is non-existent. Since at the moment I'm attempting to
> package Interchange 5.12.0 for CentOS 8 I'm thinking that this
> functionality would be usefull so that I can simply build vlink for the
> default socket location and if someone wants to change it they can just
> set MINIVEND_SOCKET rather than having to re-compile vlink with the new
> location. I've come up with the following patch which should do that (I
> haven't tested it yet), and also eliminates a vulnerable strcpy in the
> process:
Looks good to me (also not testing, just reading).
We should probably make the same change in vlink.pl, I guess.
Jon
--
Jon Jensen
End Point Corporation
https://www.endpoint.com/
More information about the interchange-users
mailing list