diff options
| author | Mark Wielaard <[email protected]> | 2015-07-06 23:15:13 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-07-06 23:31:22 +0200 |
| commit | ac26a14751ae608590d00a5dd443e830821eaaeb (patch) | |
| tree | dd00b08307ce7f6c940ed449135ce20b2322d1e6 /libebl/eblopenbackend.c | |
| parent | 53113b88716f92a2196e61ad9889724e4c23a402 (diff) | |
| parent | faf0d3d73dd8e97218e09d631e1305e5ff1c89e2 (diff) | |
Merge elfutils-0.163 into mjw/RH-DTS
Diffstat (limited to 'libebl/eblopenbackend.c')
| -rw-r--r-- | libebl/eblopenbackend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c index 3db7a18f..d551bda3 100644 --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@ -1,5 +1,5 @@ /* Generate ELF backend handle. - Copyright (C) 2000-2014 Red Hat, Inc. + Copyright (C) 2000-2015 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -142,6 +142,8 @@ static const struct }; #define nmachines (sizeof (machines) / sizeof (machines[0])) +/* No machine prefix should be larger than this. */ +#define MAX_PREFIX_LEN 16 /* Default callbacks. Mostly they just return the error value. */ static const char *default_object_type_name (int ignore, char *buf, |
