Skip to content

Commit

Permalink
Fix crash in oss-fuzz?
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereira committed Mar 24, 2024
1 parent d8920a1 commit aa242b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/lwan-template.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ enum lwan_tpl_flag { LWAN_TPL_FLAG_CONST_TEMPLATE = 1 << 0 };

struct lwan_var_descriptor {
const char *name;

const off_t offset;
const struct lwan_var_descriptor *list_desc;

union {
struct {
Expand All @@ -37,7 +37,6 @@ struct lwan_var_descriptor {
};
struct {
coro_function_t generator;
const struct lwan_var_descriptor *list_desc;
};
struct {
void (*lambda)(struct lwan_strbuf *buf, void *ptr);
Expand Down

0 comments on commit aa242b3

Please sign in to comment.