Hi Tomasz,

This is without the patch indeed. 
Your patch works but that basically skips all multi line headers, so I think 
you have some coding to do ;-) If you want to support multi line headers of 
course.
My connman is not crashing anymore.

Thanks for the replies.

Marcel

-----Original Message-----
From: connman [mailto:[email protected]] On Behalf Of Tomasz Bursztyka
Sent: vrijdag 16 mei 2014 9:19
To: [email protected]
Subject: Re: Connman crashes when loosing network

Hi Marcel,

> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> <HTML><meta http-equiv="Cache-Control" content="no-cache">
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> <meta http-equiv="Pragma" content="no-cache">
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> <meta http-equiv="Expires" content="0">
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> <meta http-equiv="Content-Type" content=
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> "text/html; charset=iso-8859-1">
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> <script language="JavaScript" type="text/javascript">
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 [header] 
> function go_now(){ window.location.href =
> connmand[30944]: WEB: gweb/gweb.c:received_data() web 0xd5ae0 
> [header]"http://www.mywifiext.net/index.htm";}
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x45a74f60 in g_str_hash () from /usr/lib/libglib-2.0.so.0

This is without the patch I sent I guess. g_str_hash and g_str_equal are not 
NULL-proof thus this crash here.

Can you retry with the patch I sent?

Thanks,

Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to