Minor issue in libnetfilter_queue.c - nfq_set_queue_maxlen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nfq_set_queue_maxlen() allocates a struct nfqnl_msg_config_params
(int32 + int8) and only stores a queue_maxlen which is an int32. It
should probably be just

+NFA_LENGTH(sizeof(uint32_t))

Probably not an issue since the buffer is just larger than it needs to be.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux