(mh_format): Bugfix (NULL pointer dereference).
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -360,7 +360,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno, | ... | @@ -360,7 +360,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno, |
360 | print_string (&mach, strobj_ptr (&mach.reg_str), fmtwidth); | 360 | print_string (&mach, strobj_ptr (&mach.reg_str), fmtwidth); |
361 | reset_fmt_defaults (&mach); | 361 | reset_fmt_defaults (&mach); |
362 | } | 362 | } |
363 | else | 363 | else if (mach.reg_str.ptr) |
364 | { | 364 | { |
365 | print_string (&mach, | 365 | print_string (&mach, |
366 | strobj_ptr (&mach.reg_str), | 366 | strobj_ptr (&mach.reg_str), | ... | ... |
-
Please register or sign in to post a comment