commit | f3f10e027a28a941575802980faacd31aa8edf86 | [log] [tgz] |
---|---|---|
author | Guangwen Feng <fenggw-fnst@cn.fujitsu.com> | Tue Jul 14 14:47:03 2015 +0800 |
committer | Jan Stancek <jstancek@redhat.com> | Tue Jul 14 09:04:49 2015 +0200 |
tree | cb20e825b9114e0f7787c589f9a0613382009eeb | |
parent | 17dce71b18834fc41275eb79b940a33046642947 [diff] |
lib/safe_macros.c: fix safe_write() and safe_pwrite() The len_strict is ineffective in byte length verification because of the improper if-condition. Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com> Reviewed-by: Jan Stancek <jstancek@redhat.com>