bugGNU Octave - Bugs: bug #31689, md5sum(s,1) reports incorrectly if...

 
 

bug #31689: md5sum(s,1) reports incorrectly if s ends in null character.

Submitted by:  None
Submitted on:  Thu 18 Nov 2010 01:08:42 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: David SmithOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.2.4
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 18 Nov 2010 08:32:15 AM UTC, comment #1:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/a117dc8ea1b9

This fixes the problem for me so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Thu 18 Nov 2010 01:08:42 AM UTC, original submission:

md5sum(s,1) doesn't return the correct value for
any strings ending in a nul character. However, I can
write the string to a file and md5sum(filename) returns
the correct value.

Further experiments indicate that md5sum(s,1) ignores
strips multiple trailing nuls from strings but respects non-trailing nuls when computing md5sum.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Nov 2010 08:32:15 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1