Bugzilla – Attachment 2250 Details for
Bug 2088
memleak in do_gen_krl()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix leaks, checking for NULL before key_free()
keygen-krl-memleak.diff (text/plain), 608 bytes, created by
Damien Miller
on 2013-04-18 12:49:46 AEST
(
hide
)
Description:
fix leaks, checking for NULL before key_free()
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2013-04-18 12:49:46 AEST
Size:
608 bytes
patch
obsolete
>Index: ssh-keygen.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh-keygen.c,v >retrieving revision 1.225 >diff -u -p -r1.225 ssh-keygen.c >--- ssh-keygen.c 10 Feb 2013 23:32:10 -0000 1.225 >+++ ssh-keygen.c 18 Apr 2013 02:48:50 -0000 >@@ -2023,6 +2023,7 @@ update_krl_from_file(struct passwd *pw, > } > if (strcmp(path, "-") != 0) > fclose(krl_spec); >+ free(path); > } > > static void >@@ -2075,6 +2076,8 @@ do_gen_krl(struct passwd *pw, int updati > close(fd); > buffer_free(&kbuf); > ssh_krl_free(krl); >+ if (ca != NULL) >+ key_free(ca); > } > > static void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2088
:
2240
|
2241
| 2250