On Sun, May 14, 2006 at 09:59:47PM +0300, Mattias Nordstrom wrote:
> Florin Iucha wrote:
> > Your code runs fine. Mine crashes, and the difference is... dumping the
> > second header!
>
> [SNIP]
>
> > You can replace hdr->From() with hdr->To(), with no change in the observable
> > behavior.
>
>
Florin Iucha wrote:
> Your code runs fine. Mine crashes, and the difference is... dumping the
> second header!
[SNIP]
> You can replace hdr->From() with hdr->To(), with no change in the observable
> behavior.
The problem is probably the fact that From() does not return the same
thing as a Subjec
On Sun, May 14, 2006 at 08:52:37PM +0300, Mattias Nordstrom wrote:
> Have you been able to backtrace the segfault?
Yes I have been able, but it is not interesting ;(
[EMAIL PROTECTED]:~/work/vmime$ ./a.out hello.eml
Clam Analyze
Subject: Hello from VMime!
Segmentation fault
(gdb) set args hello
Hi,
Have you been able to backtrace the segfault?
Running this code:
#include
#include
#include
int main()
{
// Read data from f i l e
std::ifstream file;
file.open("hello.eml", std::ios::in | std::ios::binary);
vmime::utility::inputStreamAdapter is(file);
vmime::string data;
vmime::utility
4 matches
Mail list logo