|
|
On 6.5.2004, at 19:04, James Yonan wrote: Basically you have a call graph like tunnel_point_to_point -> process_io -> Valgrind is basically x86 CPU emulator, so it just runs the code and whenever it accesses memory that hasn't been initialized before (or points to invalid location), it gives an error. So it doesn't really know why it's accessed. Could it be that there's some holes (padding?) in memory that you just skip instead of setting to zero? And lots of problems inside libcrypto. I'm not sure if they're real or I'm not sure about those. I get a few errors in my code too from libssl and haven't figured out why that's happening. It might be just that it's getting confused with some commands. One thing I recently noticed was that when I had code similiar to: int foo, bar; bar = foo; .. function(bar); It complained about bar being uninitialized inside function(), not at "bar = foo" where it really happened. The same thing might be with libcrypto calls too. Anyway, now it seems to work fine with me. After I get the rest of the VPN stuff working (routing/firewalling mostly) I'll go through OpenVPN code more throughoutly and see if I can find any (potential) problems. Attachment:
PGP.sig Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00047.html on line 220 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00047.html on line 220 |