commit | e752bed4afcd88da082f8b80ca7060d15c59fb16 | [log] [tgz] |
---|---|---|
author | H.J. Lu <hongjiu.lu@intel.com> | Fri Feb 03 10:19:55 2012 -0800 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Mon Feb 06 16:33:26 2012 +0000 |
tree | ace45158e463dc6bcaa1489b5345dfcbe0699fef | |
parent | d602542f16d628e719a7a9c5cbf7c45f7d7e0ceb [diff] |
Skip the syscall entry if the sys_func field is NULL Avoid NULL dereference when there are holes in sysent tables. It can happen with syscall (number, ...) and number is in those holes. There are no targets with holey systent tables so far, but at least one such a target, x32, is already on the horizon. * defs.h (SCNO_IN_RANGE): Also check the sys_func field.