Reproducible segfault when entering wrong passphrase in irssi plugin

Jérémy Bobbio lunar at debian.org
Thu May 31 13:11:47 CEST 2007


Hi!

I stumbled on a reproducible segfault within the SILC irssi plugin.  It happens
everytime when a wrong passphrase is entered during the plugin load.

Here's some relevant debugging information:

--- 8< ---
(gdb) bt full
#0  0x00002b40b995c7b1 in silc_pkcs_private_key_free (private_key=0x6b3fd0)
    at silcpkcs.c:567
No locals.
#1  0x00002b40b99151a9 in silc_core_deinit () at silc-core.c:833
No locals.
#2  0x00002b40b9915b88 in silc_core_init () at silc-core.c:781
	rec = <value optimized out>
	params = {threads = 0 '\0', 
  nickname_format = "%n#%a", '\0' <repeats 26 times>, 
  nickname_force_format = 0 '\0', dont_register_crypto_library = 0 '\0'}
	def_cipher = 0x1 <Address 0x1 out of bounds>
	def_hash = 0x6a9a00 "sha1"
	def_hmac = 0x6a9ac0 "hmac-sha1-96"
[...]

(gdb) frame 0
#0  0x00002b40b995c7b1 in silc_pkcs_private_key_free (private_key=0x6b3fd0)
    at silcpkcs.c:567
567	  private_key->pkcs->private_key_free(private_key->private_key);

(gdb) print private_key->pkcs
$0 = (const SilcPKCSObject *) 0x0
--- >8 ---

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.silcnet.org/pipermail/silc-devel/attachments/20070531/b9122e1c/attachment.bin


More information about the silc-devel mailing list