Byobu-select-session should not use Python's "eval" when reading input from user

Bug #919391 reported by Ryan Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
Medium
Unassigned

Bug Description

I noticed that byobu-select-session use Python's "input" function, which uses "eval". I don't think that the user input code in byobu-select-session is intended to read arbitrary python code, so I modified it to only read integers.

Patch attached.

Revision history for this message
Ryan Thompson (rct86) wrote :
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Awesome! Thanks!

Changed in byobu:
importance: Undecided → Medium
status: New → Fix Committed
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.