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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  Rishabh Dave <prongs>
Submitted:  Thu 04 Aug 2016 10:03:50 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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>
Group administrator
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.)

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 bens (Updated the item)
  • -email is unavailable- added by prongs (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-11 bens Open/ClosedOpen Closed
    2016-08-07 bens StatusIn Progress Fixed
        Assigned toNone bens
    2016-08-05 bens StatusNone 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.13-d3ae.
    Corresponding source code