Re: Information disclosure?

From: Marc Bevand (bevand_m_at_epita.fr)
Date: 04/22/05

  • Next message: Dean Strik: "Re: Information disclosure?"
    Date: Fri, 22 Apr 2005 06:23:28 +0200
    To: Pat Maddox <pergesu@gmail.com>
    
    

    Pat Maddox wrote:
    | No, it's not meant to clear the buffer. If you need to clear the
    | buffer, just cat a really, really long file.

    In this case, running yes(1) is more convenient.

    -- 
    Marc Bevand                              http://epita.fr/~bevand_m
    Computer Science School EPITA - System, Network and Security Dept.
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: Dean Strik: "Re: Information disclosure?"

    Relevant Pages

    • Re: Information disclosure?
      ... that sounds more like a ugly hack than a solution if you ask me. ... Pat Maddox wrote: ... >buffer, just cat a really, really long file. ...
      (FreeBSD-Security)
    • Re: filename and pipes and *
      ... > passing the output to the sed command. ... It is not a matter of memory but of the buffer used to temporarily hold ... Would you want cat to behave by always reading in the entire file before ...
      (comp.unix.shell)
    • Re: strace on cat /proc/my_file gives results by calling read twice why?
      ... > return that many) and a second time, when it tries to read more ... > reasons, reaching EOF only being one of them. ... > 'cat' or into a function it uses to read from the file. ... > use some buffer for reading, so 4096 is probably a choice someone ...
      (comp.os.linux.development.system)
    • Re: disk copy
      ... Read a buffer from the ... with cat it is always ... physical disks I think even 512 bytes is a large ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
      (comp.os.linux.development.system)
    • Re: strace on cat /proc/my_file gives results by calling read twice why?
      ... >> Okey do check the size of buf u will get from cat programme. ... >> so may be the size of default buffer of cat command more then what you ... > called twice. ... reasons, reaching EOF only being one of them. ...
      (comp.os.linux.development.system)