View Issue Details

IDProjectCategoryView StatusLast Update
0003992unrealircdpublic2010-12-30 22:06
ReportergoldenwolfAssigned Toohnobinki 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2.9-RC1 
Target VersionFixed in Version3.2.9-RC2 
Summary0003992: Remote MOTD crashes Unreal if URL fails to load
DescriptionUnreal boots up properly and does not complain about anything. As soon as an oper does /rehash on the server, it crashes.
Steps To ReproduceSet the files motd link to something invalid
files {
        motd "http://www.example.com/ircd.motd";

Launch Unreal, everything will seem okay.
Connect to the server and oper up and rehash the server.
Additional Informationcore dump attached.
TagsNo tags attached.
3rd party modules

Activities

goldenwolf

2010-12-30 20:29

reporter  

backtrace.txt (2,161 bytes)

ohnobinki

2010-12-30 21:00

reporter   ~0016544

Are you sure that this only happens when the URL gives a 404?

goldenwolf

2010-12-30 21:23

reporter   ~0016546

When I try valid URL it doesn't happen.


(03:08:29)  :: unrealircd.conf Rehashing
(03:08:30) -Irc.testnet.net- *** Notice -- Loading IRCd configuration ..
(03:08:30) -Irc.testnet.net- *** Notice -- Configuration loaded without any problems ..
(03:08:30) -Irc.testnet.net- *** Notice -- error: Error downloading MOTD file from "http://dl.dropbox.com/u/1673773/i": The requested URL returned error: 404
-(03:08:30) * Disconnected

CRASHED!
-

ohnobinki

2010-12-30 22:06

reporter   ~0016547

Fix in CVS, will be in 3.2.9-rc2. A bug in my own code again ;-).

- Fix pointer handling in remote MOTD code, fixing a crash on REHASH
  reported by goldenwolf (0003992).

Issue History

Date Modified Username Field Change
2010-12-30 19:42 goldenwolf New Issue
2010-12-30 19:42 goldenwolf File Added: dump.core
2010-12-30 20:23 ohnobinki File Deleted: dump.core
2010-12-30 20:29 goldenwolf File Added: backtrace.txt
2010-12-30 21:00 ohnobinki Note Added: 0016544
2010-12-30 21:12 syzop Assigned To => ohnobinki
2010-12-30 21:12 syzop Status new => assigned
2010-12-30 21:23 goldenwolf Note Added: 0016546
2010-12-30 22:06 ohnobinki Note Added: 0016547
2010-12-30 22:06 ohnobinki Status assigned => resolved
2010-12-30 22:06 ohnobinki Fixed in Version => 3.2.9-RC2
2010-12-30 22:06 ohnobinki Resolution open => fixed