diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-01 18:19:43 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-09 10:23:37 +0200 |
commit | 5630c2e72c1b100be5b342af90ba41f1075ab0aa (patch) | |
tree | 87a3762df130b61fb23f8bea35290bd09daa6082 /include/list.h | |
parent | 29ff59cc8adc5f1d87508171a87348f92ba4b5cb (diff) | |
download | AFLplusplus-5630c2e72c1b100be5b342af90ba41f1075ab0aa.tar.gz |
list testcase added
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h index c67b24b2..a0f23c85 100644 --- a/include/list.h +++ b/include/list.h @@ -56,7 +56,8 @@ typedef struct list { static inline element_t *get_head(list_t *list) { - return &list->element_prealloc_buf[0]; + /* The first element is the head */ + return list->element_prealloc_buf; } |