attr: fix out-of-bounds write when parsing huge number of attributes
[git/debian.git] / mailmap.h
blobd0e65646cb57e60aa9021c0d8754c6844199acb8
1 #ifndef MAILMAP_H
2 #define MAILMAP_H
4 struct string_list;
6 int read_mailmap(struct string_list *map, char **repo_abbrev);
7 void clear_mailmap(struct string_list *map);
9 int map_user(struct string_list *map,
10 const char **email, size_t *emaillen, const char **name, size_t *namelen);
12 #endif