Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal asn1.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Mar 2002 03:18:59 -0600 (CST)
guy         2002/03/05 03:18:59 CST

  Modified files:
    .                    asn1.c 
  Log:
  Fix another problem found by the PROTOS captures - in
  "asn1_string_value_decode()", don't pass "g_malloc()" an argument of 0,
  as "g_malloc()" will return NULL in that case, and the callers of
  "asn1_string_value_decode()" aren't necessarily prepared for a null
  argument.
  
  Revision  Changes    Path
  1.12      +12 -4     ethereal/asn1.c