Changeset 87d71bf in mainline


Ignore:
Timestamp:
2009-04-16T21:41:25Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe24a52
Parents:
3c0a841
Message:

fix off-by-one bug in kconsole argument parser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r3c0a841 r87d71bf  
    583583                        buf = (char *) cmd->argv[i].buffer;
    584584                        str_ncpy(buf, cmd->argv[i].len, cmdline + start,
    585                             (end - start) + 1);
     585                            end - start);
    586586                        break;
    587587                case ARG_TYPE_INT:
Note: See TracChangeset for help on using the changeset viewer.