# HG changeset patch # User Nathan Walp # Date 1047652137 0 # Node ID 912bacf989d7c9a3d96e6c6bcdd99dd53c9134bb # Parent c4c28874ecd39aed10c37a559c02398e1bb251ac [gaim-migrate @ 5089] it's amazing the bugs you can still find running on only 4.5 hours of sleep ;-) committer: Tailor Script diff -r c4c28874ecd3 -r 912bacf989d7 src/util.c --- a/src/util.c Fri Mar 14 11:38:21 2003 +0000 +++ b/src/util.c Fri Mar 14 14:28:57 2003 +0000 @@ -796,6 +796,9 @@ gchar *sp, *dest; gulong destsize; + if(!src) + return NULL; + /* * All we need do is multiply the number of newlines by 3 (the * additional length of "
" over "\n"), account for the