[PATCH] - Fix wrong check in aux_syscalls.stp:_struct_sockaddr_u_impl (related to PR16718)

David Smith dsmith@redhat.com
Tue Mar 18 19:59:00 GMT 2014


On 03/18/2014 11:58 AM, Josh Stone wrote:
> On 03/18/2014 07:59 AM, David Smith wrote:
>>     size_t len = clamp((size_t)STAP_ARG_len, (size_t)0, (size_t)128);
> 
> Consider using clamp_t to force a particular type.

Ah, nice. Commit 4cddafd switches to using clamp_t.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)



More information about the Systemtap mailing list