Hi all, As far as I know, using any length modifier with %n is undefined behavior. For some reason, Clang doesn't think so, but that's probably unintentional? The attached patch makes Clang warn about it.
Please take a look. Thanks, Hans
wformat_n_length_modifiers.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
