You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1010 B

--- !ditz.rubyforge.org,2008-03-06/issue
title: avoid %s and NULL in debug printing
desc: |-
Some platforms don't handle sprintf() with %s format and NULL argument.
Check for this and avoid such situations when doing debug prints.
type: :task
component: duk
release: v0.11
reporter: Sami Vaarala <sami.vaarala@iki.fi>
status: :closed
disposition: :fixed
creation_time: 2014-07-07 20:39:54.653769 Z
references: []
id: 3119777ad3facf73f0b1ffda015f129d43faeed8
log_events:
- - 2014-07-07 20:39:54.912820 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- created
- ""
- - 2014-07-07 20:40:32.200063 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- commented
- |-
This change allows debug prints to use %s with arbitrary pointers
without worrying about NULL checks or e.g. using duk_require_string()
which has the side effect of potentially throwing (not ideal for debug
statements).
- - 2014-07-07 21:03:22.027351 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- closed with disposition fixed
- ""