httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10819] New: - htpasswd crashes while closing original .htpasswd file
Date Mon, 15 Jul 2002 05:29:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10819>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10819

htpasswd crashes while closing original .htpasswd file

           Summary: htpasswd crashes while closing original .htpasswd file
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: Windows 9x
            Status: UNCONFIRMED
          Severity: Minor
          Priority: Other
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tarc@freenet.de


- passwd crashes after re-typing the new password
- german error message by windows (if 
anybody is interested in):

"HTPASSWD verursachte einen Fehler durch eine ungültige 
Seite
in Modul HTPASSWD.EXE bei 0177:0040364d.
Register:
EAX=00000000 
CS=0177 EIP=0040364d EFLGS=00010212
EBX=00540000 SS=017f ESP=0064fa7c 
EBP=0064fa84
ECX=00000000 DS=017f ESI=00416068 FS=4aa7
EDX=0066003c 
ES=017f EDI=0064fbdc GS=0000
Bytes bei CS:EIP:
83 79 04 ff 74 2f 8b 55 f8 33 c0 8a 42 
2c 85 c0 
Stapelwerte:
00000000 00000000 0064fa94 00403a7e 00000000 00000017 
0064fde8 00401503 00000000 00000000 818bb6c8 00000000 00000000 00000000 
00000002 00000000 "

- after watching in the source code i found out that it crashes while 
closing the "source" password file at line 605 in htpasswd.c: 

      
apr_file_close(fpw);

- just removing this line and recompiling did it make work for me 
because the "source" password file is not important as it will be overwritten 
anyway

(note: the exactly point where it crashes is at line 266 in open.c: 

      if (file-
>filehand != INVALID_HANDLE_VALUE)

that's equal to the compare at adress 40364d 
reported by windows

      cmp dword ptr [ecx+04], FFFFFFFF



i hope i'm not 
the only one concerning this problem

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message