user.c:extract_line buffer overflow



Hello,

I see you have a huge queue of patches to review.
One more trivial, please.

-- 
Regards,
Andrew V. Samoilov.
--- src/user.c.bak	Mon Dec 22 13:31:51 2003
+++ src/user.c	Mon Dec 22 13:34:23 2003
@@ -563,6 +563,7 @@ execute_menu_command (WEdit *edit_widget
 	return;
     }
     cmd_file = fdopen (cmd_file_fd, "w");
+    fputs ("#! /bin/sh\n", cmd_file);
     commands++;
     
     for (col = 0; *commands; commands++){


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