[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uninitialized data in

From: John Darrington
Subject: Re: uninitialized data in
Date: Sun, 10 Dec 2006 10:33:24 +0900
User-agent: Mutt/1.5.9i

On Sat, Dec 09, 2006 at 01:42:15PM -0800, Ben Pfaff wrote:
     I'm seeing the following warning from valgrind on
     ==4900== Conditional jump or move depends on uninitialised value(s)
     ==4900==    at 0x80CF84F: casefilter_variable_missing (casefilter.c:63)

This highlights an issue which has been concerning me for some time.

The line at question says:
  if ( val->f == SYSMIS ) 

which is fine, if the variable to which val belongs is numeric.  But
in this case, it is a string variable (with a width less than sizeof
(flt64) ).

Can string variables ever be SYSMIS? and is it ever valid to compare
them to SYSMIS ? 


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]