EVP_CIPHER_CTX_free get called twice on same variable

Description

As part of new #define is introduced in code called 'CIPHER_CONTEXT_CLEAN' (at pbspro/src/lib/Libutil/pbs_aes_encrypt.c:22), but in definition of CIPHER_CONTEXT_CLEAN it is trying to call EVP_CIPHER_CTX_free twice on same variable, which may lead to double free on given variable (i.e. v)

Acceptance Criteria

None

Status

Assignee

Hiren Vadalia

Reporter

Hiren Vadalia

Severity

4-Critical

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Fix versions

Affects versions

Priority

Blocker
Configure