bugGNU Octave - Bugs: bug #55426, [octave forge] (communications)...


bug #55426: [octave forge] (communications) rsdec crashes when fcr>k and block contains errors

Submitted by:  None
Submitted on:  Wed 09 Jan 2019 09:50:26 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  None Assigned to:  None
Originator Name:  Tomer Ben Chen Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.4.1
Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 09 Jan 2019 09:50:26 AM UTC, original submission:

The following code crashes on both Linux and Windows when hitting any fcr > 249:

for fcr=1:255
  % get generator polynom
  % reed-solomon encode
  e=rsenc(gf([zeros(1,k-1) 1],8,285), 255, k, g);
  % single error
  % attempt to decode
  fprintf("success with fcr=%d\n",fcr);

Checked also with k=251, it again crashes on fcr>251.
Also checked when not inserting error (commenting the line "e(1)=e(1)+1"), then it doesn't crash for any fcr in the range (1:255).



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

Attach Files:

Attached Files
file #45911:  test_rsdec.m added by None (285B - 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 None (Submitted the item)

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

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-09 mtmiller Summaryrsdec crashes when fcr>k and block contains errors => [octave forge] (communications) rsdec crashes when fcr>k and block contains errors
    2019-01-09 None Attached File- => Added test_rsdec.m, #45911

    Back to the top

    Powered by Savane 3.4