mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
NULL-terminate cache_entry_props. This and the last change resolves
crashes with GCC 2.x and 3.x reported by zas.
This commit is contained in:
parent
bb4f08172b
commit
9e15d09340
@ -25,6 +25,7 @@ static const JSPropertySpec cache_entry_props[] = {
|
||||
{ "type", CACHE_ENTRY_TYPE, JSPROP_ENUMERATE },
|
||||
{ "length", CACHE_ENTRY_LENGTH, JSPROP_ENUMERATE | JSPROP_READONLY },
|
||||
{ "head", CACHE_ENTRY_HEAD, JSPROP_ENUMERATE },
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static JSBool
|
||||
|
Loading…
Reference in New Issue
Block a user