CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
120 stars 60 forks source link

Out of index fault in OD export #20

Closed p139933 closed 1 year ago

p139933 commented 2 years ago

There is out of index fault when exporting OD to CanOpenNode V4. Error is in Make_cname function and happen when parameter name starts with single letter followed by white space (for example "X axis"), at code line 694 ( else if (Char.IsLower(tok[1])) access out of string length.

Regelink commented 2 years ago

I think this is fixed in #5

trojanobelix commented 1 year ago

should be fixed in fdb0a09935c881a352cf3fff5f975afb6642275a