path: root/rpc
diff options
authorKaushal M <>2013-10-10 17:20:57 +0530
committerAnand Avati <>2013-10-14 15:00:25 -0700
commit793f8491789e58791b090a74472959df117e404b (patch)
tree127ed665afda0132c766efb2cd74a29948979730 /rpc
parent75caba63714c7f7f9ab810937dae69a1a28ece53 (diff)
libglusterfs: Account for overflow in gf_string2bytesize
gf_string2bytesize will now return an error when a value is greater than UINT64_MAX and set errno to EOVERFLOW. This is needed because casting a double value greater than UINT64_MAX to uint64_t will convert it to 0. BUG: 1017746 Change-Id: I6f96efc1e3a1c236685593a6fb7f806a87e46019 Signed-off-by: Kaushal M <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions