Ticket #464 (closed Bug report: fixed)

Opened 14 years ago

Last modified 13 years ago

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:


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.


Change History

Changed 14 years ago by wichert@…

Changed 14 years ago by networkfusion

  • milestone changed from Not yet assigned to a Milestone to Gateway 1.1.5

Changed 13 years ago by wichert

  • status changed from new to closed
  • resolution set to fixed

Commited in r1371

Note: See TracTickets for help on using tickets.