[Openswan dev] [Pluto][Bug #560] Memory leak fixes

Michael Richardson mcr at sandelman.ottawa.on.ca
Fri Apr 7 16:38:05 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>>>>> "Ilia" == Ilia Sotnikov <hostcc at gmail.com> writes:
    Ilia> In other words, if OpenS/WAN currently doesn't handle DH
    Ilia> continuation then we shouldn't allocate the structure. Otherwise we
    Ilia> should use the structure somehow, perhaps implementing the missing
    Ilia> function perform_dh() which takes the pointer to such a structure.
    Ilia> For the simplicity the patch uses the former way
    Ilia> (allocate-then-free-immediately the DH continuation structure).

  Well, the idea is that it is going to do that.
  The first step in doing this work was to make it do all the calculations in
the function -- then test. 

  Your observation is simply that the work has not yet been finished.

- -- 
]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr at xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRDbpz4CLcPvd0N1lAQLX5wgArnXCJM0RrmRSP5mTz8dnmyZGMzbPQTg/
gMgJFABZC7JtaxjOtH+DS3zdMIxrSGT9nHZ3fKYDTHFf/hdMDt3JA1ak1ASjy+jW
BABxS9JGMZxeZbnypgbS58xdUKRKaZIe0m5c6Hk1Cg1494s2Q/WF42ZiMCIgFfdc
0RRyKORQ2t5GzYf4ah+jT5J12OOGnS3xjLeOkUhqN52eHGlrvPiv6KpF/hl3a1NY
D+NR4pdEpyMbqXoE9vOBIPInqP74OrvQjiuKyDof4m0h/BCPYtvkm5kgPNCA+2vA
SOrWcgtZvyggrGGITQUg1l57RA5bMSAHu1ZB/ldXx0MOZxiArYRTrg==
=WYpa
-----END PGP SIGNATURE-----



More information about the Dev mailing list