Your message dated Sun, 11 Jul 2010 19:09:50 +0200
with message-id <[email protected]>
and subject line Re: remote crash of amuleweb
has caused the Debian Bug report #425300,
regarding remote crash of amuleweb
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
425300: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: amule-daemon
Version: 2.1.3-2
Severity: grave
Amuleweb does not check if a requested image actually exists. This
means requests like http://localhost:4711/xyzzy.png (but only if the
user is logged in) crash the webserver due to a NULL pointer
dereference.
Fix attached.
--
Jindrich Makovicka
--- WebServer.cpp.orig 2006-04-14 07:38:51.000000000 +0200
+++ WebServer.cpp 2007-05-20 20:23:51.000000000 +0200
@@ -303,6 +303,12 @@
// To prevent access to non-template images, we disallow use of paths in filenames.
wxString imgName = wxFileName::GetPathSeparator() + wxFileName(Data.sURL).GetFullName();
CAnyImage *img = m_ImageLib.GetImage(imgName);
+
+ if (!img) {
+ webInterface->DebugShow(wxT("**** imgrequest: failed, not found\n"));
+ ProcessURL(Data);
+ return;
+ }
// Only static images are available to visitors, in order to prevent
// information leakage, but still allowing images on the login page.
--- End Message ---
--- Begin Message ---
Version: 2.2.6+debian0-1
Hello,
this bug is fixed in the 2.2.6 codebase, hence I'm closing it.
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---