Changeset 15350 for trunk


Ignore:
Timestamp:
04/15/13 21:00:55 (12 years ago)
Author:
tbretz
Message:
Forgot to add a check for a valid size
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r15349 r15350  
    705705            return ThrowException(String::New(strerror(errno)));
    706706
    707         if (buffer[0]=='#' && buffer[1]=='!')
     707        if (buffer.length()>1 && buffer[0]=='#' && buffer[1]=='!')
    708708            buffer.insert(0, "//");
    709709
Note: See TracChangeset for help on using the changeset viewer.