Bug 3 - tgetpass appends an ASCII NULL to the prompt string
tgetpass appends an ASCII NULL to the prompt string
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.3
All All
: low low
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-11 13:25 MDT by Daniel Hagerty
Modified: 2000-08-11 17:42 MDT (History)
0 users

See Also:


Attachments
tgetpass fix (114 bytes, patch)
2000-08-11 13:27 MDT, Daniel Hagerty
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Hagerty 2000-08-11 13:25:08 MDT
tgetpass has a fencepost error in writing the prompt string;  it includes the
trailing null from the string.  Patch below:
Comment 1 Daniel Hagerty 2000-08-11 13:27:59 MDT
Created attachment 1 [details]
tgetpass fix
Comment 2 Todd C. Miller 2000-08-11 13:42:59 MDT
Thanks, that fix will be in the next release.