* [libibverbs bug] Passing negative size to ibv_rc_pingpong causes seg fault
@ 2012-01-17 10:54 Vasant Hegde
0 siblings, 0 replies; only message in thread
From: Vasant Hegde @ 2012-01-17 10:54 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
Hi all,
Issue:
ibv_rc_pingpong with negative size causes segfault
Steps :
run below command :
ibv_rc_pingpong -s -2048
Segmentation fault
Package source :
git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git
http://www.openfabrics.org/downloads/libibverbs/libibverbs-1.1.4-1.24.gb89d4d7.tar.gz
Solution :
Currently we are not validating the input size passed by user.
Adding input size validation fixes this issue.
Thanks
Vasant
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-17 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 10:54 [libibverbs bug] Passing negative size to ibv_rc_pingpong causes seg fault Vasant Hegde
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.