bugGNU Octave - Bugs: bug #59341, [octave forge] (strings) `toascii`...

 
 

bug #59341: [octave forge] (strings) `toascii` should be replaced by `double` in `base64encode` and `base64decode`

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Sat 24 Oct 2020 08:20:16 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Oct 2020 11:47:58 AM UTC, comment #2: 
Markus Mützel <mmuetzel>
Group administrator
Mon 26 Oct 2020 11:40:35 AM UTC, comment #1: 

It was changed in the repo on #55385 but has not been released since

John Donoghue <lostbard>
Group Member
Sat 24 Oct 2020 08:20:16 PM UTC, original submission:  

Calling `base64encode` or `base64decode` from strings 1.2.0 in Octave 6.0.92 fails with the following errors:

>> pkg load strings
>> base64encode ('Hakuna Matata', true)
error: 'toascii' undefined near line 49, column 49
error: called from
    base64encode at line 49 column 7
>> base64decode('SGFrdW5hIE1hdGF0YQ==')
warning: implicit conversion from numeric to char
warning: called from
    base64decode at line 52 column 10

error: 'toascii' undefined near line 63, column 63
error: called from
    base64decode at line 63 column 5


To avoid these errors, `toascii` should be replaced by `double` in these functions.

CC'ing Oliver Heimlich as the package maintainer.

Markus Mützel <mmuetzel>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-26 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed
    2020-10-24 mmuetzel Carbon-Copy- Added oheim

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code