List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:July 31 2010 9:17pm
Subject:Re: class mysqlpp::examples::CommandLine
View as plain text  
On Jul 31, 2010, at 2:47 PM, Crazy Pete wrote:

> since the default value is 0, strlen segfaults.

Hmm, I would have thought it would check its arguments.

> i created a patch

...which isn't valid C++, but I got the idea. :)

My patch is checked in now, and it fixes another line earlier in the function that didn't
handle a null "extra" parameter gracefully.

class mysqlpp::examples::CommandLineCrazy Pete31 Jul
  • Re: class mysqlpp::examples::CommandLineWarren Young31 Jul