Files
asterisk/main
George Joseph 0a2e6a1c7e config: bug: Fix SEGV in ast_category_insert when matching category isn't found
If you call ast_category_insert with a match category that doesn't exist, the
list traverse runs out of 'next' categories and you get a SEGV.  This patch
adds check for the end-of-list condition and changes the signature to return
an int for success/failure indication instead of a void.

The only consumer of this function is manager and it was also changed to use
the return value.

Tested by: George Joseph
Review: https://reviewboard.asterisk.org/r/3993/
........

Merged revisions 423276 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 423277 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 423278 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@423279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-09-18 14:45:04 +00:00
..
2013-08-20 15:36:10 +00:00
2013-08-28 16:09:12 +00:00
2014-09-05 17:36:35 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2014-07-07 01:10:55 +00:00
2014-05-09 22:49:26 +00:00
2014-08-05 21:44:09 +00:00
2014-08-28 00:15:03 +00:00