Sudden trouble with net/rdesktop

Yuri Pankov ypankov at xsmail.com
Thu Nov 12 16:18:48 UTC 2020


Yuri Pankov wrote:
> Andrea Venturoli wrote:
>> Hello.
>>
>> After many year of happy usage, since yesterday rdesktop dumps core 
>> (12.2/amd64).
>>
>>> % rdesktop xxxxxx
>>> Assertion failed: ((len * 2) < size), function _utils_data_to_hex, 
>>> file utils.c, line 499.
>>> Abort (core dumped)
>>
>> This is systematic with 4 servers out of 5; the 5th still works 
>> perfectly, but I have no idea in which way it might differ from the 
>> others.
>>
>> I don't think this has anything to do with the upgrade to 1.9.0, since 
>> I was able to use 1.9.0 for a while.
>>
>> Anyone else seeing this?
>> Where do I go and look?
> 
> I see a similar report on github:
> 
> https://github.com/rdesktop/rdesktop/issues/380
> 
> Could it be something that changed on remote side, e.g. any recent updates?
> 
> As a workaround, try increasing the buf size to e.g. 512 in 
> utils.c:_utils_cert_get_info().

Sorry, looks like I'm reading that backwards, and increasing the buf 
size will actually make it worse.

BTW, did you previously have rdesktop compiled without DEBUG option, so 
that assert() simply didn't fire, and now it's ON?


More information about the freebsd-ports mailing list