Corpus ID: 14564720

strlcpy and strlcat - Consistent, Safe, String Copy and Concatenation

@inproceedings{Miller1999strlcpyAS,
  title={strlcpy and strlcat - Consistent, Safe, String Copy and Concatenation},
  author={T. C. Miller and Theo de Raadt},
  booktitle={USENIX Annual Technical Conference, FREENIX Track},
  year={1999}
}
  • T. C. Miller, Theo de Raadt
  • Published in
    USENIX Annual Technical…
    1999
  • Computer Science
  • As the prevalence of buffer overflow attacks has increased, more and more programmers are using size or length-bounded string functions such as strncpy() and strncat. [...] Key Method The proposed replacement functions, strlcpy() and strlcat(), address these problems by presenting an API designed for safe string copies (see Figure 1 for function prototypes). Both functions guarantee NUL-termination, take as a length parameter the size of the string in bytes, and provide an easy way to detect truncation…Expand Abstract
    50 Citations

    References

    SHOWING 1-10 OF 12 REFERENCES
    The C Programming Language
    • 2,389
    • PDF
    Smashing The Stack For Fun And Profit
    • 908
    The rsync algorithm
    • 410
    The C++ Programming Language, Second Edition
    • 385
    BugTraq Mailing
    • BugTraq Mailing
    BugTraq Mailing List Archives. http://www.geek-girl.com/bugtraq/. This web page contains searchable archivesofthe BugTraq mailing list
    • BugTraq Mailing List Archives. http://www.geek-girl.com/bugtraq/. This web page contains searchable archivesofthe BugTraq mailing list
    C9X FCD, Programming languages — C " http://wwwold.dkuug.dk/jtc1/sc22/open/n2794/ This web page contains the current draft of the upcoming C9X standard
    • C9X FCD, Programming languages — C " http://wwwold.dkuug.dk/jtc1/sc22/open/n2794/ This web page contains the current draft of the upcoming C9X standard
    Cavalier III . “ Libmib allocated string functions
      Newfeatures in Apache version 1.3. http://www.apache.org/docs/new_fea- tures_1_3.html. This web page contains newfeatures in version 1.3 of the Apache web server
      • Newfeatures in Apache version 1.3. http://www.apache.org/docs/new_fea- tures_1_3.html. This web page contains newfeatures in version 1.3 of the Apache web server
      The Apache Web Server. http://www.apache.org. This web page contains information on the Apache web server
      • The Apache Web Server. http://www.apache.org. This web page contains information on the Apache web server