Commit 7e10ef3d authored by claes's avatar claes

Attribute array index was limitied to 100

parent 1f2d845e
/* /*
* Proview $Id: wb_utl.c,v 1.19 2005-10-25 15:28:11 claes Exp $ * Proview $Id: wb_utl.c,v 1.20 2005-11-02 14:30:44 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -2654,7 +2654,7 @@ int utl_set_object_parameter ( ...@@ -2654,7 +2654,7 @@ int utl_set_object_parameter (
elementstr[ len ] = 0; elementstr[ len ] = 0;
sscanf( elementstr, "%d", &element); sscanf( elementstr, "%d", &element);
*s = '\0'; *s = '\0';
if ( (element < 0) || (element > 100) ) if ( (element < 0) || (element > 10000) )
{ {
return FOE__PARELSYNT; return FOE__PARELSYNT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment