Skip to Main Content
Hack Proofing Your Web Applications
book

Hack Proofing Your Web Applications

by Syngress
June 2001
Intermediate to advanced content levelIntermediate to advanced
512 pages
18h 49m
English
Syngress
Content preview from Hack Proofing Your Web Applications
230 Chapter 6 • Code Auditing and Reverse Engineering
sprintf(), snprintf(), vsprintf(), vsnprintf(), swprintf(), and
vswprintf() allow you to compose multiple variables into a
final text string.You should determine that the sum of the vari-
able sizes (as specified by the given format) does not exceed the
maximum size of the destination variable. For snprintf() and
vsnprintf(), the maximum value should not be larger than the
destination variable’s size.
gets() and fgets() read in a string of data from various file
descriptors. Both can possibly read in more data than the desti-
nation variable was allocated to hold.The fgets() function
requires a maximum ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developer's Guide to Web Application Security

Developer's Guide to Web Application Security

Michael Cross
The CERT® Oracle® Secure Coding Standard for Java™

The CERT® Oracle® Secure Coding Standard for Java™

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781928994312