[Heimdal-source-changes] [heimdal/heimdal] d3fc25: gssmask: client_connect addrinfo leak
GitHub
noreply at github.com
Mon Nov 14 22:58:48 CET 2016
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: d3fc257245e579747b3f634fb9559c792f545979
https://github.com/heimdal/heimdal/commit/d3fc257245e579747b3f634fb9559c792f545979
Author: Jeffrey Altman <jaltman at secure-endpoints.com>
Date: 2016-11-14 (Mon, 14 Nov 2016)
Changed paths:
M appl/gssmask/gssmaestro.c
Log Message:
-----------
gssmask: client_connect addrinfo leak
In client_connect() getaddrinfo() stores the head of the allocated
addrinfo structure list in 'res0'. 'res' is used to walk the list
and will be NULL at the end of the for() loop when freeaddrinfo(res)
is executed. Pass 'res0' to freeaddrinfo() instead of 'res'.
Change-Id: Ie1358c0356b6b0f98470e46e25216cfa0ab4adac
More information about the Heimdal-source-changes
mailing list