]> git.draconx.ca Git - dxcommon.git/commitdiff
Fix off-by-one error in gen-options.awk.
authorNick Bowler <nbowler@draconx.ca>
Sat, 6 Mar 2021 21:18:38 +0000 (16:18 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 6 Mar 2021 21:23:08 +0000 (16:23 -0500)
When an option has no help text, the lopt_get_help function is returning
a description pointer which is one past the end of the help text array,
rather than a pointer to the final 0 byte as intended.  The results are
unpredictable.


No differences found