Re: [ekhtml-devel] ekhtml lib coredump!
Brought to you by:
jick
|
From: John S. <jo...@st...> - 2006-06-16 01:30:16
|
Can you provide more context? For example, what does AttrInTable do?
What does the rest of the loop look like? Do you know what is
corrupted or null? Does it happen the first time it enters the loop?
Or after you reassign P?
jks
On Jun 13, 2006, at 10:41 PM, mingqiang.lee wrote:
> hello all:
> I found the newest version ekhtml would coredump!i was used to use
> old version ekhtml,and it works normally thought it has some
> bugs.But after i replace the old version with the newest one serveral
> days before,i found my program can't run any more.
>
> my code:
> void HtmlFilter::Handle_StartTag(void *Data, ekhtml_string_t *Tag,
> ekhtml_attr_t *Attrs)
> {
> ekhtml_attr_t *P = (ekhtml_attr_t *)Attrs;
> while (P)
> {
> if (AttrInTable(P->name.str, P->name.len))//core dump here!!!
>
>
> does it have any problem?does the usage of newest ekhtml lib differ
> from old version?
>
>
>
>
>
>
>
> 你 不 想 试 试 今 夏 最 “酷” 的 邮 箱 吗 ?
> 蕴 涵 中 华 传 统 文 化 于 世 界 一 流 科 技 之 中,创 新 Ajax 技 术,126 “D 计 划”火 热 体 验 中 !
> _______________________________________________
> ekhtml-devel mailing list
> ekh...@li...
> https://lists.sourceforge.net/lists/listinfo/ekhtml-devel
|