[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-26 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #11 from Ivo Raisr --- First part committed in SVN r16314. -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-24 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #10 from Ivo Raisr --- Modified the previous patch slightly based on comment by Matthias Schwarzott. POST(sys_prctl) syscall wrapper needs to take into account that ARG2 might not need to be nul-terminated. -- You are

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-24 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 Ivo Raisr changed: What|Removed |Added Attachment #105170|0 |1 is obsolete|

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-24 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 Ivo Raisr changed: What|Removed |Added Attachment #105145|0 |1 is obsolete|

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-23 Thread Stig
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #7 from Peter (Stig) Edwards --- Thank you very much for the patch, I built and tested and it works as expected. For the changes in coregrind/m_syswrap/syswrap-linux.c, I was thinking it might be better

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-22 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #6 from Ivo Raisr --- Based on your comment #2, I prepared a patch myself. Compared to yours, it uses completely different approach. I will defer to the community to judge which one suits better. -- You are receiving

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-22 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #5 from Ivo Raisr --- Created attachment 105145 --> https://bugs.kde.org/attachment.cgi?id=105145=edit patch utilizing VG_(strnlen) function -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-21 Thread Stig
https://bugs.kde.org/show_bug.cgi?id=379039 --- Comment #4 from Peter (Stig) Edwards --- Created attachment 105142 --> https://bugs.kde.org/attachment.cgi?id=105142=edit A hack of a patch that just duplicates the asciiz func with a _limit_len version. A

[valgrind] [Bug 379039] syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes

2017-04-21 Thread Ivo Raisr
https://bugs.kde.org/show_bug.cgi?id=379039 Ivo Raisr changed: What|Removed |Added Summary|False positive when passing |syscall wrapper for