diff options
| author | David Sommerseth <dazo@users.sourceforge.net> | 2012-10-11 02:01:08 +0200 |
|---|---|---|
| committer | David Sommerseth <dazo@users.sourceforge.net> | 2012-10-11 02:01:08 +0200 |
| commit | 00bd0ac4cc901004aeaf4548813bb465bce5243f (patch) | |
| tree | cd582a497353d1585775b6fef52cd57ea256d30b /database/sqlite | |
| parent | ee5833d1ebde36a016418810009d313a2438bf0b (diff) | |
| download | eurephia-00bd0ac4cc901004aeaf4548813bb465bce5243f.tar.gz eurephia-00bd0ac4cc901004aeaf4548813bb465bce5243f.tar.xz eurephia-00bd0ac4cc901004aeaf4548813bb465bce5243f.zip | |
eurephia-auth: Fixed a double-free situation with dev-type is not obvious
If OpenVPN is configured with a unkown --dev name and --dev-type is used,
eurephia would in some specific situations double-free a memory region
keeping the dev-type information. GETENV_*() functions returns a pointer
to a buffer which is supposed to be free'd, but pointers returned by
eGet_value() should not be free'd.
And in the error situation if dev-type is not forced or detected, the
memory allocated by GETENV_DEVNAME() was not properly free'd.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'database/sqlite')
0 files changed, 0 insertions, 0 deletions
