https://bugs.kde.org/show_bug.cgi?id=369030
--- Comment #6 from Mark Wielaard <[email protected]> --- Comment on attachment 185069 --> https://bugs.kde.org/attachment.cgi?id=185069 proposed patch The len argument specifies the number of bytes in name. (Thus, name does not require a terminating null byte.) So don't you want to check the name here: +PRE(sys_setdomainname) +{ + PRINT ("sys_setdomainname ( %#" FMT_REGWORD "x, %ld )", ARG1, SARG2); + PRE_REG_READ2 (long, "setdomainname", const void *, name, int, len); +} PRE_MEM_READ("setdomainname.name", ARG1, ARG2); ? -- You are receiving this mail because: You are watching all bug changes.
