Re: wapbox: wtls crash

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

commited to SVN. Thanks!

Alex


Am 07.02.2012 um 17:33 schrieb Armindo Antunes:

> Hi,
> I've found a bug on wap/wtls_pdu.c file, wtls_payload_dump function.
> This function may be called with an NULL payload (when wtls_decrypt outputs the error: ERROR: wtls_decrypt: Rejected packet due to bad MAC) which causes a segmentation fault.
> 
> I've attached the patch with the fix for the current trunk version.
> 
> Best regards,
> Armindo Antunes
> 
> 
> 
> <wtls_pdu.c.patch>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.