Use a macro or inline (or separate state variable) for the size check so it's not the same constant hard-coded in two places. One line in the patch needs indent tabification.
- Prevent unbounded stack usage in libraries Mark Wielaard
- [PATCH 02/17] libelf: Fix possible unbounded stack usa... Mark Wielaard
- Re: [PATCH 02/17] libelf: Fix possible unbounded s... Roland McGrath
- [PATCH 01/17] libelf: Fix possible unbounded stack usa... Mark Wielaard
- Re: [PATCH 01/17] libelf: Fix possible unbounded s... Roland McGrath
- Re: [PATCH 01/17] libelf: Fix possible unbounded s... Roland McGrath
- [PATCH 07/17] libdwfl: Fix unbounded stack usage in fi... Mark Wielaard
- Re: [PATCH 07/17] libdwfl: Fix unbounded stack usa... Roland McGrath
- [PATCH 05/17] libebl: Don't blow up stack when process... Mark Wielaard
- Re: [PATCH 05/17] libebl: Don't blow up stack when... Roland McGrath
- Re: [PATCH 05/17] libebl: Don't blow up stack ... Mark Wielaard
- [PATCH 06/17] libdwfl: Fix possible unbounded stack us... Mark Wielaard
- Re: [PATCH 06/17] libdwfl: Fix possible unbounded ... Roland McGrath
- [PATCH 09/17] libdwfl: Minimize stack usage in dwfl_li... Mark Wielaard
- Re: [PATCH 09/17] libdwfl: Minimize stack usage in... Roland McGrath
- [PATCH 04/17] libebl: Use static number for array stac... Mark Wielaard
- Re: [PATCH 04/17] libebl: Use static number for ar... Roland McGrath
- [PATCH 03/17] libelf: Fix possible unbounded stack usa... Mark Wielaard
- Re: [PATCH 03/17] libelf: Fix possible unbounded s... Roland McGrath
- [PATCH 08/17] libdw: Fix possibly unbounded stack usag... Mark Wielaard
