Re: [btOOL] segfault in bt_create_name_format
Status: Beta
Brought to you by:
gward
|
From: Brent S. <bs...@uc...> - 2005-04-27 20:40:20
|
Brent Smith wrote:
> It looks like the "parts" parameter to that function was
> passed a NULL. Maybe some simple error checking like a
> if (!parts) { return NULL; } will fix the issue?
>
I'm sorry, it looks like if you call the format method
with the correct arguments, it won't segfault.
i.e. $nameformat = new Text::BibTeX::NameFormat ("fvlj", false);
However, regardless of how it is called, I don't think the
constructor should segfault on bad input.
--
Brent Smith <bs...@uc...>
BME Computer Support <bme...@uc...>
530.754.8029
|