Results 1 to 7 of 7

Thread: Python 3.1: Security Hole or Bug or Ignorance?

  1. #1
    Join Date
    May 2010
    Location
    Norco, CA USA
    Beans
    132
    Distro
    Ubuntu

    Python 3.1: Security Hole or Bug or Ignorance?

    In the IDLE Python IDE, on the immediate mode side, I was showing the kids about infinite loops and CNTRL-C.

    Something really weird happened.


    Code:
    >>> while 1:
    	print ("test")
    
    test
    test
    test
    ...
    test
    test
    smb://qinsp1-linux32/public/2010/Reports/PPE/DexModel1.prttest
    test
    test
    ...
    That green line popped up out of nowhere. It's the path to a file on the server that I had used for a CAD application earlier, has nothing to do with Python.

    Not sure how that happened. Any thoughts?
    Patrick McSwain - New 32bit & 64bit Ubuntu 10.04 user as of 5/1/2010.
    Networking new Linux computers into my existing Wintel-based small technical business.
    I was a DOS programmer in a previous life. No UNIX/Linux experience at all.

  2. #2
    Join Date
    Jan 2008
    Beans
    69

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    My theory... you have some kind of process running in the background, it output, and it came up in IDLE's prompt, which is basically just a shell running in the background with python running in it.

    I might be wrong, however. I've never used python3.X because I personally don't really like it, i used python2.x for the time being.
    ------------------

  3. #3
    Join Date
    Jun 2010
    Beans
    33

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    Quote Originally Posted by ov3rcl0ck View Post
    I might be wrong, however. I've never used python3.X because I personally don't really like it, i used python2.x for the time being.
    How long is the *time being*? Until Python drops support for 2.x and forces 3.x on us? Sadly, it looks as if Guido had a few too many Heinekens one night and conjured up this mess for Python. Until we get some kind of resolution on how this will finally play out I'm staying clear of Python.
    Last edited by raf-kig; July 11th, 2010 at 11:23 PM.

  4. #4
    Join Date
    Aug 2007
    Beans
    949

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    Luckily we're about to get Perl 6.

  5. #5
    Join Date
    May 2010
    Location
    Norco, CA USA
    Beans
    132
    Distro
    Ubuntu

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    Quote Originally Posted by ov3rcl0ck View Post
    My theory... you have some kind of process running in the background, it output, and it came up in IDLE's prompt, which is basically just a shell running in the background with python running in it.

    I might be wrong, however. I've never used python3.X because I personally don't really like it, i used python2.x for the time being.
    No, no other apps active. I'm not much a multi-tasker.

    Gotta say, that's bizarre. Could it be an environment variable for USER that equals the last SAMBA file access?

    Kinda of worrisome in case it's not a bug.
    Patrick McSwain - New 32bit & 64bit Ubuntu 10.04 user as of 5/1/2010.
    Networking new Linux computers into my existing Wintel-based small technical business.
    I was a DOS programmer in a previous life. No UNIX/Linux experience at all.

  6. #6
    Join Date
    Feb 2009
    Beans
    1,469

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    My initial thought would be that you or someone else inadvertently middle-clicked on the window, pasting the primary selection (most recently highlighted text) into it. (When I was new to Linux, I did this quite a few times without figuring out exactly what was going on, and a lot of other people seem still to be ignorant of this feature.) Barring that, who knows? But as it only happened once I would tend to blame it on something I did by accident rather than a bug in Python.

  7. #7
    Join Date
    Apr 2007
    Location
    (X,Y,Z) = (0,0,0)
    Beans
    3,715

    Re: Python 3.1: Security Hole or Bug or Ignorance?

    It's quite obvious:

    You hit Ctrl-V (paste). In a QWERTY keyboard, C is to the left of V...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •