Changeset e3e6cff


Ignore:
Timestamp:
Apr 8, 2008, 1:57:49 PM (17 years ago)
Author:
Derrick J. Brashear <shadow@dementia.org>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
d768834
Parents:
3004c9f
Message:
avoid null pointer dereference if msg is NULL (or a 0 length is claimed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    r9854278 re3e6cff  
    14521452     *
    14531453     */
    1454     strncpy(realmsg, args->msg, sizeof(realmsg));
     1454    if (args->msg && args->msglen)
     1455      strncpy(realmsg, args->msg, sizeof(realmsg));
    14551456  }
    14561457
Note: See TracChangeset for help on using the changeset viewer.