FreeBSD Bugzilla – Attachment 135421 Details for
Bug 180291
[PATCH] security/openct: don't crash when backed cannot be signalled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
openct-0.6.20.patch
openct-0.6.20.patch (text/plain), 759 bytes, created by
Marcin Cieślak
on 2013-07-05 09:40:01 UTC
(
hide
)
Description:
openct-0.6.20.patch
Filename:
MIME Type:
Creator:
Marcin Cieślak
Created:
2013-07-05 09:40:01 UTC
Size:
759 bytes
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/security/openct.orig/files/patch-ctapi.c /usr/ports/security/openct/files/patch-ctapi.c >--- /usr/ports/security/openct.orig/files/patch-ctapi.c 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/ports/security/openct/files/patch-ctapi.c 2013-07-05 10:23:33.000000000 +0200 >@@ -0,0 +1,15 @@ >+--- src/ctapi/ctapi.c 2006-04-25 23:58:06.000000000 +0200 >++++ src/ctapi/ctapi.c 2013-07-05 10:08:41.000000000 +0200 >+@@ -562,7 +562,11 @@ >+ ct->next = cardTerminals; >+ cardTerminals = ct; >+ ct->cwd = &ct->mf; >+- ct_reader_info(pn, &info); >++ if (ct_reader_info(pn, &info) < 0) { >++ free(ct); >++ ct_error("ct_reader_info failed\n"); >++ return ERR_INVALID; >++ } >+ ct->mf.id = 0x3f00; >+ ct->mf.gen = dir; >+ ct->mf.dir[0] = &ct->mf;
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
Actions:
View
|
Diff
Attachments on
bug 180291
: 135421