[sheepdog] [PATCH] bs_sheepdog.c: fix memory leak issues in sd_open()
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Fri Nov 1 01:46:16 CET 2013
On Thu, 31 Oct 2013 17:36:34 +0900
Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp> wrote:
> This fixes memory leak issues in sd_open function which were brought
> by the patch titled "bs_sheepdog.c: support various VDI options in
> --backing-store option" (commit:
> f282f83c036e298f316ef64d1e51aff3f57b9eaf).
>
> The current sd_open function doesn't free locally allocated string
> "orig_filename" nor restores "filename" argument temporarily broken
> for parsing VDI options when unknown protocol was specified or tcp
> port number was malformed.
>
> Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> ---
> usr/bs_sheepdog.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Applied.
More information about the sheepdog
mailing list