view libpurple/gconf/purple.schemas.in @ 16577:99bf55ec6ca4

Fix an invalid read that occurs because we were accessing IM data when the conversation was a chat. Here's the relevant valgrind output. ==18344== Invalid read of size 4 ==18344== at 0x8089DA1: update_typing_icon (gtkconv.c:3138) ==18344== by 0x8090742: pidgin_conv_update_fields (gtkconv.c:6081) ... ==18344== Address 0x107EADD0 is 12 bytes after a block of size 12 alloc'd ==18344== at 0x40056D5: calloc (vg_replace_malloc.c:279) ==18344== by 0x4D48EC4D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1200.4) ==18344== by 0x809149B: private_gtkconv_new (gtkconv.c:4608) ==18344== by 0x4056637: purple_conversation_new (conversation.c:324) ==18344== by 0x40785EB: serv_got_joined_chat (server.c:699) ==18344== by 0x493C813: irc_msg_join (msgs.c:722) ...
author Richard Laager <rlaager@wiktel.com>
date Sat, 28 Apr 2007 05:37:56 +0000
parents 88d626a179a6
children
line wrap: on
line source

<?xml version="1.0"?>
<gconfschemafile>
  <schemalist>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/aim/enabled</key>
      <applyto>/desktop/gnome/url-handlers/aim/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "aim" URLs</short>
        <long>True if the command specified in the "command" key should handle "aim" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/aim/command</key>
      <applyto>/desktop/gnome/url-handlers/aim/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "aim" URLs</short>
        <long>The command used to handle "aim" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/aim/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/aim/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/gg/enabled</key>
      <applyto>/desktop/gnome/url-handlers/gg/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "gg" URLs</short>
        <long>True if the command specified in the "command" key should handle "gg" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/gg/command</key>
      <applyto>/desktop/gnome/url-handlers/gg/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "gg" URLs</short>
        <long>The command used to handle "gg" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/gg/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/gg/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/icq/enabled</key>
      <applyto>/desktop/gnome/url-handlers/icq/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "icq" URLs</short>
        <long>True if the command specified in the "command" key should handle "icq" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/icq/command</key>
      <applyto>/desktop/gnome/url-handlers/icq/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "icq" URLs</short>
        <long>The command used to handle "icq" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/icq/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/icq/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/irc/enabled</key>
      <applyto>/desktop/gnome/url-handlers/irc/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "irc" URLs</short>
        <long>True if the command specified in the "command" key should handle "irc" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/irc/command</key>
      <applyto>/desktop/gnome/url-handlers/irc/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "irc" URLs</short>
        <long>The command used to handle "irc" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/irc/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/irc/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/msnim/enabled</key>
      <applyto>/desktop/gnome/url-handlers/msnim/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "msnim" URLs</short>
        <long>True if the command specified in the "command" key should handle "msnim" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/msnim/command</key>
      <applyto>/desktop/gnome/url-handlers/msnim/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "msnim" URLs</short>
        <long>The command used to handle "msnim" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/msnim/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/msnim/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/sip/enabled</key>
      <applyto>/desktop/gnome/url-handlers/sip/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "sip" URLs</short>
        <long>True if the command specified in the "command" key should handle "sip" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/sip/command</key>
      <applyto>/desktop/gnome/url-handlers/sip/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "sip" URLs</short>
        <long>The command used to handle "sip" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/sip/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/sip/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/xmpp/enabled</key>
      <applyto>/desktop/gnome/url-handlers/xmpp/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "xmpp" URLs</short>
        <long>True if the command specified in the "command" key should handle "xmpp" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/xmpp/command</key>
      <applyto>/desktop/gnome/url-handlers/xmpp/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "xmpp" URLs</short>
        <long>The command used to handle "xmpp" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/xmpp/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/xmpp/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>

    <schema>
      <key>/schemas/desktop/gnome/url-handlers/ymsgr/enabled</key>
      <applyto>/desktop/gnome/url-handlers/ymsgr/enabled</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>true</default>
      <locale name="C">
        <short>Whether the specified command should handle "ymsgr" URLs</short>
        <long>True if the command specified in the "command" key should handle "ymsgr" URLs.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/ymsgr/command</key>
      <applyto>/desktop/gnome/url-handlers/ymsgr/command</applyto>
      <owner>purple</owner>
      <type>string</type>
      <default>purple-url-handler "%s"</default>
      <locale name="C">
        <short>The handler for "ymsgr" URLs</short>
        <long>The command used to handle "ymsgr" URLs, if enabled.</long>
      </locale>
    </schema>
    <schema>
      <key>/schemas/desktop/gnome/url-handlers/ymsgr/needs_terminal</key>
      <applyto>/desktop/gnome/url-handlers/ymsgr/needs_terminal</applyto>
      <owner>purple</owner>
      <type>bool</type>
      <default>false</default>
      <locale name="C">
        <short>Run the command in a terminal</short>
        <long>True if the command used to handle this type of URL should be run in a terminal.</long>
      </locale>
    </schema>
  </schemalist>
</gconfschemafile>