common_functions: add special handling of sprintf() and snprintf()
commitcf58f4b6d80e1645e5496d3a58112a0b82cd86af
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Jan 2014 17:36:58 +0000 (23 20:36 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Jan 2014 17:36:58 +0000 (23 20:36 +0300)
tree16978309bc0c7ac5ebdcad542a9dd38b499fc191
parent06998b4cbfaae9cbd4df990f19c1351c653c40ea
common_functions: add special handling of sprintf() and snprintf()

Calculate the return value of sprintf().  The implementation is pretty
half arsed but it's better than before.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_common_functions.c
smatch_data/db/fixup_all.sh