]> git.puffer.fish Git - matthieu/frr.git/commit
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
authorpaul <paul>
Tue, 3 Jun 2003 03:03:34 +0000 (03:03 +0000)
committerpaul <paul>
Tue, 3 Jun 2003 03:03:34 +0000 (03:03 +0000)
commit852ba0e2cf9a1c6bba0988e98512a303cc9739e8
tree6ab53c00990f5208317752b2649e6f31582e3033
parentbb3a023ed853b2335dccf25dfd8ec237fd9d8458
From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>
Subject: [zebra 19259] Memory leak in OSPF

The detail of the memory leak follows:
 File name: ospf_interface.c
 Function name: ospf_if_new_hook().
 Type of leak: Overwriting the already allocated memory.
 Problem found and description:
 The ospf_new_if_params() fn allocates a memory for "auth_crypt" which
 is overwritten, down in the fn (ospf_if_new_hook) by explicitely allocating
 a memory for the same "auth_crypt".

 Fix: remove allocation from ospf_new_if_params()
ospfd/ospf_interface.c