]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Event: Avoid illegal multiplication for memset 3265/head
authorHaomai Wang <haomaiwang@gmail.com>
Sun, 28 Dec 2014 13:31:35 +0000 (21:31 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sun, 28 Dec 2014 13:31:35 +0000 (21:31 +0800)
commit793c32d5f1e7ae431d41006ac490d4303ed7f431
tree8920f7b1ae6bb909017e5f4efa0dbdd898d09952
parent3f83e88008bb8f24e207ced9d727903de9bbf0c6
Event: Avoid illegal multiplication for memset

Because "file_events" is "FileEvent" type and adding an integral value to
this pointer automatically scales that value by the size.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/msg/async/Event.cc