Package: coolkey
Version: 1.1.0-12
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch



*** /tmp/tmpbG98u8/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

  * Fix Firefox crash due to "Assertion `mOldCAC' failed" error
    based on patch from www.spinics.net/linux/fedora/coolkey/msg00368.html


Thanks for considering the patch.



-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-36-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== added file 'debian/patches/99-fixmAsserterror.patch'
--- debian/patches/99-fixmAsserterror.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/99-fixmAsserterror.patch	2013-01-15 15:34:29 +0000
@@ -0,0 +1,16 @@
+## Description: add some description
+## Origin/Author: add some origin or author
+## Bug: bug URL
+Index: coolkey/src/coolkey/slot.cpp
+===================================================================
+--- coolkey.orig/src/coolkey/slot.cpp	2013-01-15 10:25:31.690342000 -0500
++++ coolkey/src/coolkey/slot.cpp	2013-01-15 10:34:08.539195695 -0500
+@@ -2215,6 +2215,8 @@
+     CKYBuffer_InitEmpty(&vBuf);
+     CKYBuffer_Resize(cert, 0);
+ 
++    *nextSize = 0;
++
+     /* handle the new CAC card read */
+     /* read the TLV */
+     status = CACApplet_ReadFile(conn, CAC_TAG_FILE, &tBuf, NULL);

=== modified file 'debian/patches/series'
--- debian/patches/series	2012-04-11 20:56:20 +0000
+++ debian/patches/series	2013-01-15 15:32:25 +0000
@@ -8,3 +8,4 @@
 coolkey-cac-rhl5.patch
 0001-Fix-working-with-empty-certificates-in-not-zero-slot.patch
 Handle-pcscd-restarting
+99-fixmAsserterror.patch

Reply via email to