Follow-up Comment #4, patch #1296 (project freeciv):

>> + my_snprintf(packet_send.message, sizeof(packet_send.message), "%s",
>> + packet->message);
>
>
> Why is this not simple strncpy()?

Or sz_strlcpy(packet_send.message, packet->message)?

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1296>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to