Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5148 in orxonox.OLD for trunk/src/lib/util


Ignore:
Timestamp:
Aug 27, 2005, 12:17:50 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: one Parameter safe now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/helper_functions.cc

    r5141 r5148  
    4343  int result = strtol(INT, &endPtr, 10);
    4444
    45   if ( endPtr >= INT && endPtr < INT + strlen(INT))
     45  if ( endPtr >= INT && endPtr < INT + strnlen(INT, 10))
    4646    return defaultValue;
    4747  else
Note: See TracChangeset for help on using the changeset viewer.