Regarding using strcmp instead of memcmp

Alan DeKok aland at deployingradius.com
Thu Aug 17 19:45:18 CEST 2006


"Ravi S M" <smravi at TechMahindra.com> wrote:
> I am trying to run free radius code with purify , it is giving errors as
> 
> UMR: Uninitialized memory read (13 times) in memcmp=0D
> 
> Reading 5 bytes from 0xffbdd108 on the stack (1 byte at 0xffbdd10c
> uninit).
> 
>       Address 0xffbdd108 is        4 bytes past start of local variable
> "cs" in function

  ... which function?

  It's nice that there's a bug report, but you haven't given us any
information that will let us fix it.

> So can I use strcmp instead of memcmp . because if I use strcmp instead
> of memcmp the error is not coming

  That's nice... do you have a patch?

> Please I would be grateful if u can provide some useful information
> regarding this

  What would you have us say?  It looks like you found a bug, but
until you tell us where, we can't do a thing to help you.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list