#7 realloc tested for NULL in localcharset.c

closed-fixed
None
5
2010-03-04
2008-06-22
No

hold buffer pointer in temporary location in case realloc returns NULL.

Discussion

  • Jose Da Silva

    Jose Da Silva - 2008-06-22

    hold onto buffer pointer in case return value is NULL

     
  • Németh László

    Logged In: YES
    user_id=726595
    Originator: NO

    Latest version of Hunspell has already had some silimar memory allocation checking patches, but it is not complete. Thanks for your all patches.

     
  • Németh László

    • assigned_to: nobody --> nemethl
     
  • caolan mcnamara

    caolan mcnamara - 2010-03-04

    doesn't hurt, though the canonical location for this stuff is in intltool I believe

     
  • caolan mcnamara

    caolan mcnamara - 2010-03-04
    • status: open --> closed-fixed