Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 114234 | Differences between
and this patch

Collapse All | Expand All

(-)openMotif-2.2.3/clients/uil/UilDiags.c (-2 / +2 lines)
Lines 293-304 void diag_issue_diagnostic Link Here
293
    va_start(ap, l_start_column);
293
    va_start(ap, l_start_column);
294
294
295
#ifndef NO_MESSAGE_CATALOG
295
#ifndef NO_MESSAGE_CATALOG
296
    vsprintf( msg_buffer, 
296
    vsnprintf( msg_buffer, 132 
297
	      catgets(uil_catd, UIL_SET1, msg_cat_table[ message_number ],
297
	      catgets(uil_catd, UIL_SET1, msg_cat_table[ message_number ],
298
		      diag_rz_msg_table[ message_number ].ac_text), 
298
		      diag_rz_msg_table[ message_number ].ac_text), 
299
	     ap );
299
	     ap );
300
#else
300
#else
301
    vsprintf( msg_buffer, 
301
    vsnprintf( msg_buffer, 132
302
	      diag_rz_msg_table[ message_number ].ac_text, 
302
	      diag_rz_msg_table[ message_number ].ac_text, 
303
	      ap );
303
	      ap );
304
#endif
304
#endif
(-)openMotif-2.2.3/clients/uil/UilSrcSrc.c (-1 / +1 lines)
Lines 631-637 open_source_file( XmConst char Link Here
631
631
632
    /* place the file name in the expanded_name buffer */
632
    /* place the file name in the expanded_name buffer */
633
633
634
    strcpy(buffer, c_file_name);
634
    strncpy(buffer, c_file_name, 256);
635
635
636
/*    Determine if this is the main file or an include file.  */
636
/*    Determine if this is the main file or an include file.  */
637
637

Return to bug 114234