Changeset 51ea01e in mainline


Ignore:
Timestamp:
2009-12-05T16:35:06Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a5af223
Parents:
371a012
Message:

Fix off-by-one buffer overflow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r371a012 r51ea01e  
    5555typedef struct {
    5656        /** Buffer holding text currently being edited */
    57         wchar_t buffer[INPUT_MAX];
     57        wchar_t buffer[INPUT_MAX + 1];
    5858        /** Screen coordinates of the top-left corner of the text field */
    5959        int col0, row0;
Note: See TracChangeset for help on using the changeset viewer.