Page MenuHomeFreeBSD

D45488.diff
No OneTemporary

D45488.diff

diff --git a/lib/libradius/radlib.c b/lib/libradius/radlib.c
--- a/lib/libradius/radlib.c
+++ b/lib/libradius/radlib.c
@@ -320,8 +320,10 @@
hctx = HMAC_CTX_new();
while (pos < len - 2) {
alen = h->in[pos + 1];
- if (alen < 2)
+ if (alen < 2) {
+ HMAC_CTX_free(hctx);
return (0);
+ }
if (h->in[pos] == RAD_MESSAGE_AUTHENTIC) {
if (len - pos < MD5_DIGEST_LENGTH + 2) {
HMAC_CTX_free(hctx);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 8:44 AM (22 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14531547
Default Alt Text
D45488.diff (417 B)

Event Timeline