Ticket #196 (closed defect: fixed)
makedepend tool can't cope with long INCLUDE paths
| Reported by: | charlie | Owned by: | charlie |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | MSVC makefiles | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | Microsoft Windows | Blocking: |
Description (last modified by olly) (diff)
The port of makedepend we're using can't cope with include paths longer than 512 bytes - according to Paul Rudin: "A number of those command line args are copied around with strcpy where the buffers involved are BUFSIZ large. BUFSIZ seems to be only 512 (from stdio.h) on my system so it's pretty easy to get buffer overflows. That -I"..." string that caused the problem was more than 512 chars for example. "
This can cause buffer overrun errors in makedepend, if the Windows system has a particularly large INCLUDE path in its environment variables.
Change History
Note: See
TracTickets for help on using
tickets.
