Overview
| Artifact ID: | e6c49c501c9c662ac6fa6fe28f708a3a0b5d7cb4 |
|---|---|
| Ticket: | 3127687fffffffffffffffffffffffffffffffff
Triggers FORTIFY_SOURCE buffer overflow detection |
| User & Date: | nijtmans on 2010-12-06 05:14:59 |
Changes
- icomment:
changing command[4] to command[1] has the problem that the structure will be over-allocated (sizeof might add passing characters.....) better: replace the strcpy with memcpy, as we already know the length anyway. This is faster and should not trigger the FORTIFY_SOURCE. patch attached. Does this help?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"