Re: Possible windows+python bug

From: azurIt (azurit_at_pobox.sk)
Date: 03/22/05

  • Next message: psz_at_maths.usyd.edu.au: "root-equivalent groups"
    Date: Tue, 22 Mar 2005 23:05:51 +0100
    To: bugtraq@securityfocus.com
    
    

    > On Tue, Mar 22, 2005 at 12:21:18PM -0000, liquid@cyberspace.org
    wrote:
    > > Start Python and type (of course x.x.x.x should be replaced with
    > > IP address):
    > >
    > > import socket
    > > s=socket.socket(socket.AF_INET,socket.SOCK_RAW,4)
    > > s.sendto("",("x.x.x.x",0))
    > >
    > > Press ENTER and your win box should crash immediately.
    >
    > I tested this on WinXP SP2 with Python 2.4. The result is an
    > exception:
    >
    > socket.error: (10022, 'Invalid argument')
    >
    > I don't have Python 2.3 installed otherwise I would test that too.
    >
    > Neil
    >

    i got the same exception, WinXP SP2, Python 2.3.4 .

    azurIt


  • Next message: psz_at_maths.usyd.edu.au: "root-equivalent groups"

    Relevant Pages

    • Re: Socket programming design problem
      ... I mistyped something and Python ... > throws an exception, it is caught by the generic handler at the bottom. ... > However, the socket does not seem to be cleaned up properly, as if I try to ...
      (comp.lang.python)
    • Re: decorators tutorials
      ... I am learning python by learning django, ... allow the SystemExit exception to continue to propogate without doing ... # The func argument is a Pythong function object ... trying to get the result of DivXY, ...
      (comp.lang.python)
    • Re: math.nroot [was Re: A brief question.]
      ... >>> wish sometimes that Python would make up it's mind about what it does ... >> exception on overflow, invalid operation, and divide by 0, and "should ... >> not", by default, raise an exception on underflow or inexact. ... you can at least be pretty sure that an infinite result is the ...
      (comp.lang.python)
    • Re: An existing connection was forcibly closed by the remote host...
      ... EndReceivewill throw "Can't access disposed object" exception whenever the connection is terminated. ... In MS .NET Socket implementation there is no mechanism for the socket object to signal to the main thread that it is about to be disposed. ... public Socket ClientSocket ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: "invalid handle", sockets, threads and garbage collector
      ... your IntPtr value happens to coincide with a reference. ... The exception contains "invalid handle" message. ... Socket constructor problem ... finalization means closing the handle to resource. ...
      (microsoft.public.dotnet.framework.clr)

  • Quantcast