[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (2fc46c54ae1a149586f21f7a244f151f678cce61)



The branch, master has been updated
       via  2fc46c54ae1a149586f21f7a244f151f678cce61 (commit)
      from  141ef2642efd33b7ec5db8e96ed2291a70b8b9ee (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gcode/gcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 2fc46c54ae1a149586f21f7a244f151f678cce61
Author: Markus Hitter <mah@xxxxxxxxxxx>
Commit: Felix Ruoff <Felix@xxxxxxxxxxxxxxxxxx>

    HID-gcode: make use of MAXPATHLEN.
    
    Affects-bug: lp-699497

:100644 100644 40a13b1... 44a71fe... M	src/hid/gcode/gcode.c

=========
 Changes
=========

commit 2fc46c54ae1a149586f21f7a244f151f678cce61
Author: Markus Hitter <mah@xxxxxxxxxxx>
Commit: Felix Ruoff <Felix@xxxxxxxxxxxxxxxxxx>

    HID-gcode: make use of MAXPATHLEN.
    
    Affects-bug: lp-699497

diff --git a/src/hid/gcode/gcode.c b/src/hid/gcode/gcode.c
index 40a13b1..44a71fe 100644
--- a/src/hid/gcode/gcode.c
+++ b/src/hid/gcode/gcode.c
@@ -454,7 +454,7 @@ gcode_do_export (HID_Attr_Val * options)
 /* ***************** gcode conversion *************************** */
 /* potrace uses a different kind of bitmap; for simplicity gcode_im is copied to this format */
 	  bm = bm_new (gdImageSX (gcode_im), gdImageSY (gcode_im));
-	  filename = (char *)malloc (512);
+	  filename = (char *)malloc (MAXPATHLEN);
 	  plist = NULL;
 	  if (is_solder)
 	    {			/* only for back layer */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs