Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • I don't think so. Too many arguments for printf() cannot lead to segfault. It just means the caller places the bogus args to stack and printf() implementation does not use them as the format string does not refer to it. The opposite case (too few args) might lead to segfault, especially if the expected arg would be pointer to be dereferenced (e.g. missing arg for format string "%s"). Commented Feb 10, 2013 at 23:12