Summary:ASTERISK-02150: [PATCH] H.323 Memory corruptions
Reporter:schmeuf (schmeuf)Labels:
Date Opened:2004-07-30 10:30:34Date Closed:2004-09-25 02:12:17
Versions:Frequency of
Environment:Attachments:( 0) 20040730__h323_caplock.diff.txt
Description:1/ Simultaneous access to the h323_set_capability function leads to a memory corruption when calling endPoint->RemoveCapabilities(codecs) in ast_h323.cpp. I put a mutex on h323_set_capability.

2/ Bad memory allocation on called_addr creation (use of sizeof instead of strlen on a char *) in chan_h323

It made the asterisk crash when I attempt calls storm from it.
Comments:By: Mark Spencer (markster) 2004-07-30 11:26:08

This patch doesn't seem to apply.

By: zoa (zoa) 2004-07-30 13:35:00

please make a patch for latest cvs.

By: zoa (zoa) 2004-07-30 13:35:39

cvs-head that is

By: Mark Spencer (markster) 2004-07-30 14:25:16

actually patch complains that it's an invalid patch.  its' not a conflict.

By: Tilghman Lesher (tilghman) 2004-07-30 15:24:16

Patch manually merged and new patch has been generated.

By: Mark Spencer (markster) 2004-07-30 16:16:03

Fixed in CVS