[Devel] [ openser-Bugs-1532830 ] usrloc/udomain.c causes task to
crash
SourceForge.net
noreply at sourceforge.net
Wed Aug 2 02:25:37 CEST 2006
Bugs item #1532830, was opened at 2006-08-01 20:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1532830&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Submitted By: Norman Brandinger (goestelecom)
Assigned to: Nobody/Anonymous (nobody)
Summary: usrloc/udomain.c causes task to crash
Initial Comment:
It was discovered that the usrloc/udomain.c
preload_udomain() code causes a failure when testing
with postgres.
The cause of the failure is the call to:
ul_dbf.query(_c, 0, 0, 0, columns, 0, (use_domain) ?
(14) : (13), 0,0)
The last parameter (0) should be the address of a
storage location to hold the address of the result set
returned by the query. Obviously, trying to store an
address into location 0 isn't a good thing.
The attached patch changes the last parameter to the
previously defined db_res_t &res variable.
Testing after application of this patch shows that it
resolves this specific failure.
Regards,
Norm
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1532830&group_id=139143
More information about the Devel
mailing list