1 / 3

Be Prepared for Rude Behavior from a Peer

Be Prepared for Rude Behavior from a Peer. Checking for client termination Checking for valid input UNIX utility program 중 6 ~ 43 % 가 인위적으로 생성한 random input 으로 시험했을 때 죽었음. Read a line. lib/readline.c:. len. 0. bufx. bufptr. Buffering. cnt. b. bp. From socket.

ada
Download Presentation

Be Prepared for Rude Behavior from a Peer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BePrepared for Rude Behavior from a Peer

  2. Checking for client termination • Checking for valid input • UNIX utility program 중 6 ~ 43 % 가 인위적으로 생성한 random input으로 시험했을 때 죽었음

  3. Read a line lib/readline.c: len 0 bufx bufptr Buffering cnt b bp From socket C string은 ‘\0’를 append해야 함 Line >= 2 bytes

More Related