diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-19 15:22:31 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-19 15:33:12 +0000 |
commit | a1401e340043ac2829757be5c5f546d0ce7eadc7 (patch) | |
tree | 4f73e6c871e9bbd02c897dcc67a4ce242ea7d01a /win32 | |
parent | d1da09ea7a88cabdce417041ffa2018b7516de0c (diff) | |
download | busybox-w32-a1401e340043ac2829757be5c5f546d0ce7eadc7.tar.gz busybox-w32-a1401e340043ac2829757be5c5f546d0ce7eadc7.tar.bz2 busybox-w32-a1401e340043ac2829757be5c5f546d0ce7eadc7.zip |
ash: use correct size for tblentry
As noted in cmdlookup the size of a tblentry instance, *t, is
sizeof(struct tblentry) + strlen(t->cmdname)
because the structure includes one byte for the cmdname array.
Apply the same logic in tblentry_size and tblentry_copy.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions