On 05/04/17 14:58, Magnus Fromreide wrote:
> On Thu, May 04, 2017 at 06:42:58AM -0700, Bart Van Assche wrote:
>> On 05/04/17 00:18, Magnus Fromreide wrote:
>>> I just noticed that your alternate version of vasnprintf calls realloc on
>>> the *strp argument but when I look at my system's version it seems to call
>>> malloc and just assign the result and given that one could imagine people
>>> calling it using an uninitilaized pointer then that behaviour sounds more
>>> correct.
>>
>> It was not my intention to make the behavior of vasprintf() different of the
>> function with the same name in the C library. I will make sure that the
>> behavior of both implementations matches.
>
> :-)

Hello Magnus,

This should have been fixed. Can you have a look at what I checked in?

Bart.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to