]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix crash related to saving a changed password (bug #4976)
authorRussell Bryant <russell@russellbryant.com>
Wed, 24 Aug 2005 15:39:25 +0000 (15:39 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 24 Aug 2005 15:39:25 +0000 (15:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6392 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index baf0ecbc159ab104bd0e52b8de521de26fb57cb8..e0cb8af0e2540386209c8b766c0ee443165b4f5e 100755 (executable)
@@ -675,7 +675,7 @@ static void vm_change_password(struct ast_vm_user *vmu, char *newpassword)
                                        }
                                } else {
                                        /* Put it back like it was */
-                                       fprintf(configout, orig);
+                                       fprintf(configout, "%s", orig);
                                }
                        }
         }