| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | David Gravereaux <davygrvy AT pobox DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: dxegen goes boom. is there a fix? |
| Organization: | none.. lost in anarchy |
| Message-ID: | <m9ps7us3l7kpvomabduqqkcctcs1gau91u@4ax.com> |
| References: | <kllr7uo0aoausadjsk49mitf7t29mg5odc AT 4ax DOT com> <a5l7jj$1b8$1 AT antares DOT lu DOT erisoft DOT se> |
| X-Newsreader: | Forte Agent 1.8/32.553 |
| MIME-Version: | 1.0 |
| Lines: | 28 |
| NNTP-Posting-Host: | 64.168.252.154 |
| X-Complaints-To: | abuse AT prodigy DOT net |
| X-Trace: | newssvr14.news.prodigy.com 1014916682 ST000 64.168.252.154 (Thu, 28 Feb 2002 12:18:02 EST) |
| NNTP-Posting-Date: | Thu, 28 Feb 2002 12:18:02 EST |
| X-UserInfo1: | Q[R_PJSCTS@[RVP[WZJ AT N]PCUKXD AT D@MGPW^OBPLAH[\RSAANVUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB AT X^B_OCJLPZ AT ET_O[G\XSG AT E\G[ZKVLBL^CJINM AT I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN |
| Date: | Thu, 28 Feb 2002 17:18:02 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote:
>There's a bug (mildly speaking):
>Lines 89-91 and 115-119 of dxegen.c:
> if (fh.f_nscns != 1 || argc > 4)
> {
> char command[1024], *libdir;
>...
>
> for(i=3;argv[i];i++)
> {
> strcat(command, argv[i]);
> strcat(command, " ");
> }
>
>This will blow up when the command line becomes bigger than 1024.
>The error is also present in CVS head.
>
>
>Right,
>
> MartinS
Awesome, thanks!
--
David Gravereaux <davygrvy AT pobox DOT com>
[species: human; planet: earth,milkyway,alpha sector]
Please be aware of the 7.5 year ping times when placing a call from alpha centari
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |