[PATCH 0/2] Additional checks for IPC tests
Eugene Syromyatnikov
evgsyr at gmail.com
Wed Sep 7 12:40:40 UTC 2016
Hello.
I've noticed that IPC tests do not check first parameter (IPC ID) enough
which allowed incorrect format specifier usage. These patches augment
tests with regard to aforementioned issue and correct illicit behaviour.
Eugene Syromyatnikov (2):
tests: Additional IPC checks
Change type of the format specifier from "%lu" to "%d" for IPC ID
ipc_msgctl.c | 2 +-
ipc_sem.c | 8 +++----
ipc_shm.c | 2 +-
ipc_shmctl.c | 2 +-
tests/ipc_msg.c | 51 +++++++++++++++++++++++++++++++++++++-----
tests/ipc_sem.c | 27 +++++++++++++++++++++++
tests/ipc_shm.c | 23 +++++++++++++++++--
tests/semop.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/semop.test | 2 +-
tests/shmxt.c | 11 +++++++++
10 files changed, 177 insertions(+), 16 deletions(-)
--
1.7.10.4
More information about the Strace-devel
mailing list