buf_size: add modification hooks
commit369863f313064650754a86bebdb6fc7ab9e50b53
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 16:20:05 +0000 (12 19:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Jun 2012 16:20:05 +0000 (12 19:20 +0300)
treecc68544139e89cca1fb768ca59e4740744281bc7
parentbac2117c5579a686566109b56d8952054b9c1a3a
buf_size: add modification hooks

If a pointer gets assigned to a new buffer then we need to reset the
size information.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_buf_size.c