Ticket #464 (closed Bug report: fixed)
Make use strings are NUL-terminated after strncpy
Reported by: | wichert@… | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | Gateway 1.1.5 |
Component: | Gateway | Version: | |
Keywords: | Cc: |
Description
If the source is longer than the output buffer strncpy(3) will not NUL-terminate the output buffer. This can have all kinds of disastrous effects.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.