Ticket #464 (closed Bug report: fixed)

Opened 13 years ago

Last modified 12 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:

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

Changed 13 years ago by wichert@…

Changed 12 years ago by networkfusion

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

Changed 12 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.