[Gforge-devel] [gforge-Bugs][2523] cvstracker: newcommit.php crashes on quotes in log message

gforge-bugs at gforge.org gforge-bugs at gforge.org
Fri Jun 2 11:56:00 EDT 2006


Bugs item #2523, was opened at 02/06/2006 17:56
You can respond by visiting: 
http://gforge.org/tracker/?func=detail&atid=105&aid=2523&group_id=1
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Status: Open
Priority: 3
Submitted By: Yann Dirson (ydirson)
Assigned to: Nobody (None)
Summary: cvstracker: newcommit.php crashes on quotes in log message 
Category: CVS
Group: v4.5.6


Initial Comment:
When a single quote is part of the log message, the user gets the following error when committing:

<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/export/gforge/gforge-cvs/plugins/cvstracker/www/newcommit.php</b> on line <b>38</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/export/gforge/gforge-cvs/plugins/cvstracker/www/newcommit.php</b> on line <b>223</b><br />

The call to unserialize() returns "false" for some reason, and the script subsequently fails because it is an unhandled error condition (that is, 2 bugs in one).


----------------------------------------------------------------------

You can respond by visiting: 
http://gforge.org/tracker/?func=detail&atid=105&aid=2523&group_id=1


More information about the Gforge-devel mailing list