bugGNU Octave - Bugs: bug #53826, [octave forge] general package...

 
 

bug #53826: [octave forge] general package SHA1 function crashes

Submitter:  John Donoghue <lostbard>
Submitted:  Thu 03 May 2018 06:46:07 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  lostbard
Originator Name:  lostbard Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 May 2018 07:55:12 PM UTC, comment #2: 

Pushed to repo

Closing as fixed

John Donoghue <lostbard>
Group Member
Thu 03 May 2018 06:49:31 PM UTC, comment #1: 

Patch attached

(file #44077)

John Donoghue <lostbard>
Group Member
Thu 03 May 2018 06:46:07 PM UTC, original submission:  

using the SHA1 function from the general package with octave 4.4, using the SHA1 function crashes octave.

ie:

SHA1(uint8("hello'))


The current code there looks to be a steal of some public algorithm on a website that lo longer exists, so rather than having all that code, it would probally be far easier to use an existing library that does the algorithm, usch as nettle.



John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44077:  nettlesha1.patch added by lostbard (11KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-10 lostbard StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2018-05-07 lostbard Summarygeneral package SHA1 function crashes [octave forge] general package SHA1 function crashes
    2018-05-03 lostbard Attached File- Added nettlesha1.patch, #44077
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code