Changeset d81f8d0 for functions.c


Ignore:
Timestamp:
Aug 10, 2008, 8:33:50 AM (16 years ago)
Author:
Geoffrey Thomas <geofft@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0504f63
Parents:
0f9eca7
Message:
Fix a buffer overflow -> segfault due to strcat
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r601733d rd81f8d0  
    283283  owl_editwin_set_dotsend(e);
    284284  strcpy(buff, "----> ");
    285   strcat(buff, line);
     285  strncat(buff, line, 1016);
    286286  strcat(buff, "\n");
    287287  owl_editwin_set_locktext(e, buff);
Note: See TracChangeset for help on using the changeset viewer.