From: Carlos V. <car...@ni...> - 2012-09-24 16:08:40
|
Hi, Here are two patches for openca-base 1.3.0. They fix memory leaks in: 1. DBI simple bug with debug sub adding strings but never freeing (printing). 2. Several leaks in XS Openssl.xs. Structures didn't have any destructor (DESTROY) function and some frees were missing, so any call to Openssl was really a leak for sure. These leak fixes are very important for auto daemons, like autoCRL, where I found 1 autoCRL process eating 50% of my machine memory over time...... The Openssl.xs patch is good using openssl 1.0.1 but not sure if it works in 0.9.8 without touching it a bit, as I only used 1.0.1 versions while searching for the leaks. Included in this, there is a new ppport.h file, created with a recent perl module. Included in openca package was very old. IMHO these patches are a must for a stable OpenCA. PS: I know Max is in NY now... but is he still online? There are a lot of patches that should be commited. Regards, Carlos Velasco |