strmid writing to wrong varible
#4

The problem is more likely that your salt is not terminated with a null terminator. When you print a string memory is read until the next null terminator is found. If there isn't a null terminator at the end of the string then it'll just continue reading into adjacent memory where other variables are stored. That's called buffer overflow.

Do you mind showing your RandomString method?
Reply


Messages In This Thread
strmid writing to wrong varible - by wallee - 06.09.2017, 05:10
Re: strmid writing to wrong varible - by nG Inverse - 06.09.2017, 05:43
Re: strmid writing to wrong varible - by wallee - 06.09.2017, 07:13
Re: strmid writing to wrong varible - by Vince - 06.09.2017, 08:25
Re: strmid writing to wrong varible - by Misiur - 06.09.2017, 08:32
Re: strmid writing to wrong varible - by wallee - 06.09.2017, 20:13
Re: strmid writing to wrong varible - by wallee - 07.09.2017, 02:31
Re: strmid writing to wrong varible - by Paulice - 07.09.2017, 04:17
Re: strmid writing to wrong varible - by wallee - 07.09.2017, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)