Skip to content

Certain malformed statuses can crash naim and cause an assertion failure. #39

@GoogleCodeExporter

Description

@GoogleCodeExporter
> What steps will reproduce the problem?

1. Get the status of certain users with malformed status (this can happen on 
signon).

> What is the expected output? What do you see instead?

Naim crashes with Assertion failed: (s[len+3] == 0), function toc_got_data, 
file toc2.c, line 1812.
                                                                                 Abort (core dumped)

> What version of naim are you using? On what operating system?
> % naim --version

naim 0.11.8.3.2

> % uname -a

FreeBSD prime.gushi.org 6.4-STABLE FreeBSD 6.4-STABLE #1: Sat Mar  7 23:54:27 
EST 2009     danm@prime.gushi.org:/usr/src/sys/i386/compile/PRIME6  i386

> Please provide any additional information below.

[01:46:08] *** frame=2, sequence=in:39142, length=42, 
value=[UPDATE_BUDDY2:briancrackberry:F:0:0:0: :0]
[01:46:08] *** frame=2, sequence=in:39143, length=69, 
value=[BART2:briancrackberry:4 2 ABNJIHdhbnQgcGFuY2FrZXMgT19v 4 13 ThuL1w== ]
[01:46:08] *** BART 4 2: STATUS_TEXT: ABNJIHdhbnQgcGFuY2FrZXMgT19v []

Original issue reported on code.google.com by goo...@gushi.org on 12 Jul 2011 at 6:31

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions