[ros-kernel] String Display Error

j_anderw at sbox.tugraz.at j_anderw at sbox.tugraz.at
Wed Jan 28 18:11:32 CET 2004


Zitat von Nate DeSimone <desimn at rpi.edu>:

> I figured out the problem.  It was in fact a bug in my code, when I was
> combining two strings I actually went 1 character over the end of the
> smaller string, due to having a <= instead of a < in my for loop's
> condition, and I would never have even thought I looking more closely at
> that had it not been for ReactOS, of course I'm sure that if I made that
> mistake other people did too so it might be worthwhile to make ReactOS
> behave like Windows when it encounters that error.

Hi,
IMHO there is no normal behavior since the memory contents beyond the string is
purely random and also may not belong to the application itself. Thus the
behavior cannot be forseen (from segementation violation to printing out random
characters)

regards,

--
Johannes Anderwald



More information about the Ros-kernel mailing list