commit | 9d382df04ccc0f145e7f13a23757b3d0ba5a9524 | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Thu Sep 05 17:35:04 2013 +0100 |
committer | Chris Mason <clm@fb.com> | Wed Sep 24 12:02:08 2014 -0700 |
tree | 353c9df0bdc448430c0e540710de713bd8e64c25 | |
parent | 7a51b395a7cf1218d2ad55008d5a64cd7721a057 [diff] |
iowatcher: Fix a label overflow in plot_io The length of the label option wasn't being checked before strcpy()ing it into a char[256]. Use strncpy instead. Signed-off-by: Andrew Price <anprice@redhat.com>