bugGNU nano - Bugs: bug #48698, the toggle value for some rebound...

 
 

bug #48698: the toggle value for some rebound keys is uninitialized

Submitted by:  Rishabh Dave <prongs>
Submitted on:  Thu 04 Aug 2016 10:03:50 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 07 Aug 2016 09:39:37 AM UTC, comment #1:

Fixed in git, 1fd2354.

Thanks for the report, and for the fix.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 04 Aug 2016 10:03:50 AM UTC, original submission:

Add the following code for rebinidng F6 (or any other key, in general) in ~/.nanorc-
bind F6 help main

On doing valgrind -v src/nano followed by pressing F6 leads to following error report.

Error:-
1 errors in context 1 of 5:
==3111== Conditional jump or move depends on uninitialised value(s)
==3111== at 0x8058FD5: help_init (help.c:449)
==3111== by 0x8059304: do_help (help.c:64)
==3111== by 0x805D1C1: do_input (nano.c:1671)
==3111== by 0x804AF7E: main (nano.c:2647)
==3111==
==3111==
==3111== 17 errors in context 2 of 5:
==3111== Conditional jump or move depends on uninitialised value(s)
==3111== at 0x8058FFD: help_init (help.c:455)
==3111== by 0x8059304: do_help (help.c:64)
==3111== by 0x805D1C1: do_input (nano.c:1671)
==3111== by 0x804AF7E: main (nano.c:2647)

Rishabh Dave <prongs>

 

(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 bens (Updated the item)
  • -unavailable- added by prongs (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 logged-in users can vote.

     

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Aug 2016 10:53:54 AM UTCbensOpen/ClosedOpen=>Closed
    Sun 07 Aug 2016 09:39:37 AM UTCbensStatusIn Progress=>Fixed
      Assigned toNone=>bens
    Fri 05 Aug 2016 08:38:32 AM UTCbensStatusNone=>In Progress
      Summarytoggle for the key rebound in rcfile is uninitialized=>the toggle value for some rebound keys is uninitialized

    Back to the top


    Powered by Savane 3.1-cleanup1