Bug Tracker item #2820558, was opened at 2009-07-12 17:47
Message generated for change (Tracker Item Submitted) made by deantakemori
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2820558&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dean Takemori (deantakemori)
Assigned to: Nobody/Anonymous (nobody)
Summary: Another hash_drv bug

Initial Comment:
in _ds_get_signature():

  if (fread(SIG->data, statbuf.st_size, 1, file) != statbuf.st_size) {

But man fread says:
       fread() and fwrite() return the number of items  successfully  read  or
       written  (i.e.,  not the number of characters).  If an error occurs, or
       the end-of-file is reached, the return value is a short item count  (or
       zero).

so the test should be < 1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2820558&group_id=250683

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to