diff --git a/display/d.where/where.c b/display/d.where/where.c
index 402fd89a54e..9f775f14dd0 100644
--- a/display/d.where/where.c
+++ b/display/d.where/where.c
@@ -10,7 +10,7 @@ extern struct pj_info iproj, oproj, tproj;
int where_am_i(char **coords, FILE *fp, int have_spheroid, int decimal,
int dcoord)
{
- char buf1[50], buf2[50];
+ char buf1[320], buf2[320];
int screen_x, screen_y;
double east, north;
int projection;
diff --git a/lib/gis/wind_format.c b/lib/gis/wind_format.c
index 45b6b2eb0ca..40eb45b6b7c 100644
--- a/lib/gis/wind_format.c
+++ b/lib/gis/wind_format.c
@@ -21,7 +21,7 @@ static void format_double(double, char *, int);
* its ASCII representation (into buf).
*
* \param north northing
- * \param[out] buf buffer to hold formatted string
+ * \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_northing(double north, char *buf, int projection)
@@ -41,7 +41,7 @@ void G_format_northing(double north, char *buf, int projection)
* its ASCII representation (into buf).
*
* \param east easting
- * \param[out] buf buffer to hold formatted string
+ * \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_easting(double east, char *buf, int projection)
@@ -61,7 +61,7 @@ void G_format_easting(double east, char *buf, int projection)
* ASCII representation (into buf).
*
* \param res resolution value
- * \param[out] buf buffer to hold formatted string
+ * \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_resolution(double res, char *buf, int projection)
diff --git a/ps/ps.map/map_info.c b/ps/ps.map/map_info.c
index e6d41760398..2807b444025 100644
--- a/ps/ps.map/map_info.c
+++ b/ps/ps.map/map_info.c
@@ -9,7 +9,7 @@
int map_info(void)
{
char buf[400];
- char east[50], west[50], north[50], south[50];
+ char east[320], west[320], north[320], south[320];
double x, y, k, fontsize, dy, margin;
static char *region = "REGION: ";
diff --git a/raster/r.coin/print_hdr.c b/raster/r.coin/print_hdr.c
index 9ac9b4c90c5..825b37b7624 100644
--- a/raster/r.coin/print_hdr.c
+++ b/raster/r.coin/print_hdr.c
@@ -19,7 +19,7 @@ int print_coin_hdr(int Conformat)
{
char unit_type[20];
const char *mapset, *location;
- char north[30], south[30], east[30], west[30];
+ char north[320], south[320], east[320], west[320];
mapset = G_mapset();
location = G_location();
diff --git a/raster/r.report/header.c b/raster/r.report/header.c
index 390c793df43..bd7b7f7928c 100644
--- a/raster/r.report/header.c
+++ b/raster/r.report/header.c
@@ -21,9 +21,9 @@ int header(int unit1, int unit2)
int i, k;
char buf[BUFSZ];
char tbuf1[256], tbuf2[256];
- char north[50], south[50];
- char east[50], west[50];
- char ns_res[50], ew_res[50];
+ char north[320], south[320];
+ char east[320], west[320];
+ char ns_res[320], ew_res[320];
int len1, len2;
char *label;