Database slightly out of sync. regards, dan carpenter
On Wed, Apr 08, 2015 at 07:44:41PM +0800, kbuild test robot wrote: > TO: Masaki Ota <masaki....@jp.alps.com> > CC: Dmitry Torokhov <dmitry.torok...@gmail.com> > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > master > head: a897436e0e233e84b664bb7f33c4e0d4d3e3bdad > commit: 3db5b9f782b50a309fe0fb89fb890f6b4f66d9ae [9220/10050] Input: ALPS - > add support for SS4 touchpad devices > :::::: branch date: 43 minutes ago > :::::: commit date: 20 hours ago > > drivers/input/mouse/alps.c:961 alps_get_mt_count() error: buffer overflow > 'mt' 2 <= 3 > drivers/input/mouse/alps.c:961 alps_get_mt_count() error: buffer overflow > 'mt' 2 <= 3 > > git remote add next > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git remote update next > git checkout 3db5b9f782b50a309fe0fb89fb890f6b4f66d9ae > vim +/mt +961 drivers/input/mouse/alps.c > > 3808843c Yunkang Tang 2014-07-26 945 case V7_PACKET_ID_NEW: > 3808843c Yunkang Tang 2014-07-26 946 mt[1].x &= ~0x003F; > 3808843c Yunkang Tang 2014-07-26 947 mt[1].x |= (pkt[0] & > 0x20); > 3808843c Yunkang Tang 2014-07-26 948 mt[1].y |= 0x000F; > 3808843c Yunkang Tang 2014-07-26 949 break; > 3808843c Yunkang Tang 2014-07-26 950 } > 3808843c Yunkang Tang 2014-07-26 951 > 3808843c Yunkang Tang 2014-07-26 952 mt[0].y = 0x7FF - mt[0].y; > 3808843c Yunkang Tang 2014-07-26 953 mt[1].y = 0x7FF - mt[1].y; > 3808843c Yunkang Tang 2014-07-26 954 } > 3808843c Yunkang Tang 2014-07-26 955 > 3808843c Yunkang Tang 2014-07-26 956 static int alps_get_mt_count(struct > input_mt_pos *mt) > 3808843c Yunkang Tang 2014-07-26 957 { > 7091c443 Hans de Goede 2014-12-18 958 int i, fingers = 0; > 3808843c Yunkang Tang 2014-07-26 959 > 7091c443 Hans de Goede 2014-12-18 960 for (i = 0; i < MAX_TOUCHES; > i++) { > 7091c443 Hans de Goede 2014-12-18 @961 if (mt[i].x != 0 || > mt[i].y != 0) > 7091c443 Hans de Goede 2014-12-18 962 fingers++; > 7091c443 Hans de Goede 2014-12-18 963 } > 3808843c Yunkang Tang 2014-07-26 964 > 7091c443 Hans de Goede 2014-12-18 965 return fingers; > 3808843c Yunkang Tang 2014-07-26 966 } > 3808843c Yunkang Tang 2014-07-26 967 > 3808843c Yunkang Tang 2014-07-26 968 static int > alps_decode_packet_v7(struct alps_fields *f, > 3808843c Yunkang Tang 2014-07-26 969 > unsigned char *p, > > :::::: The code at line 961 was first introduced by commit > :::::: 7091c443dda8c6c6d8e70e33452252f9ad3e7814 Input: alps - v7: sometimes a > single touch is reported in mt[1] > > :::::: TO: Hans de Goede <hdego...@redhat.com> > :::::: CC: Dmitry Torokhov <dmitry.torok...@gmail.com> > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > http://lists.01.org/mailman/listinfo/kbuild Intel Corporation _______________________________________________ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild