[PATCH]: octstr_format crash

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH]: octstr_format crash

Rene Kluwen
For your convenience, I also attached the patch to this email.

This is a fairly trivial and reasonably severe bug (crash).
Comments / Votes?

Rene Kluwen
Chimit


-----Original Message-----
From: Apache [mailto:[hidden email]]On Behalf Of [hidden email]
Sent: maandag 13 maart 2006 20:14
Subject: [Kannel 0000323]: octstr_format crash



The following NEW bug has been ADDED.
=======================================================================
http://bugs.kannel.org/view_bug_page.php?f_id=0000323
=======================================================================
Reporter:                   rene
Handler:                    rene
=======================================================================
Project:                    Kannel
Bug ID:                     0000323
Category:                   General
Reproducibility:            random
Severity:                   major
Priority:                   high
Status:                     assigned
=======================================================================
Date Submitted:             03-13-06 19:14 GMT
Last Modified:              03-13-06 19:14 GMT
=======================================================================
Summary:                    octstr_format crash
Description:
If some parameter of the octstr_format() function (besides the format
itself) is NULL and supposed to be displayed as -for example- %S, then
octstr_format crashes.

Patch to fix is attached to this bug report.
I never bothered about octstr.c.debug. This is left as an exercise to the
reader.

=======================================================================



octstr.c.patch (1K) Download Attachment