Changes between Initial Version and Version 1 of Ticket #1024


Ignore:
Timestamp:
Jan 13, 2010 11:25:25 AM (14 years ago)
Author:
bennylp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1024

    • Property Status changed from new to closed
    • Property Resolution changed from to wontfix
  • Ticket #1024 – Description

    initial v1  
    11PJSIP assumes that an {{{snprintf}}} of "%.*s" will nicely print nothing if the supplied arguments are 0 and NULL. Unfortunately some Libc library (such as uClibc) would print "(null)" instead. 
     2 
     3It has been suggested that PJSIP should be changed so that it uses empty string ("") instead of NULL when the string length is zero, but this would require modifications in too many places. And anyway I feel that this is not the right solution. 
     4 
     5We suggest that uClibc should be fixed instead. The offending lines are in {{{libc/stdio/_vprintf.c}}}, just search for "(null)" and replace it with an empty string. 
     6 
     7Thanks Alfonso Ortega for the info.