On Thu, Apr 10, 2014 at 11:37:22AM +0200, Jiri Benc wrote: > When less bytes than the header size is read, do not indicate to the caller > that the read was successful, as the caller would read uninitialized memory. > To achieve that, subtract the header size unconditionally (unless an error > was returned by sk_receive). > > In addition, do not check for Ethernet type when full Ethernet header was > not read. This again may lead to reading of uninitialized memory. > > Signed-off-by: Jiri Benc <jb...@redhat.com> > ---
Applied. Thanks, Richard ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel