Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#3014) helptext_tech may overflow buffer
Home

[Freeciv-Dev] (PR#3014) helptext_tech may overflow buffer

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#3014) helptext_tech may overflow buffer
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 6 Feb 2003 16:49:34 -0800
Reply-to: rt.freeciv.org@xxxxxxxxxxxxxx

Well, it probably won't...but this function is passed a buffer but no
buffer size, which isn't good.  It would be good to add a bufsz
parameter and use my_snprintf within the function.

This may apply to other nearby functions as well.

jason



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3014) helptext_tech may overflow buffer, Jason Short via RT <=