Mercurial > pidgin.yaz
view doc/gaim-remote.1.in @ 10039:cf02e7104706
[gaim-migrate @ 10998]
A patch from rian hunter (chrono86):
In src/protocols/oscar/oscar.c, in the function
gaim_plugin_oscar_convert_to_best_encoding. g_convert
is called multiple times. As its 5th argument g_convert
takes a gsize* (8 byte), yet the argument to
gaim_plugin_oscar_convert_to_best_encoding is a int* (4
byte).
On LP64 machines this can allow the int* to be
overwritten. This is especially bad on big endian
64-bit machines, causing the high 32-bits to be written
into the low 32-bits of the int.
This is a quick fix patch that lets g_convert deal with
a gsize* pointer instead, then casting the value at
gsize* to the value at the int*.
A real fix would be to fix the aim_sendimext_args
structure to have a gsize instead of an int (and all
functions that use the aim_sendimext_args struct), and
changing gaim_plugin_oscar_convert_to_best_encoding to
accept a gsize*. of course, this woudl promote glib2
dependence, so that's probably not the best thing to do.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 18 Sep 2004 23:17:18 +0000 |
parents | a47f038ecf9a |
children |
line wrap: on
line source
.TH gaim-remote 1 .SH "NAME" gaim-remote v@VERSION@ \- Gaim command-line remote control .SH "SYNOPSIS" .TP 5 \fBgaim-remote \fI[command]\fR \fI[parameters]\fR .TP 5 \fBgaim-remote -h \fI[command]\fR .SH "DESCRIPTION" .PP \fbgaim-remote\fR is a command-line interface for controlling an already-running instance of the Gaim Instant Messaging client. It currently has only rudimentary support for launching AIM-style URIs, and closing the running instance, although further functionality is planned. .SH "OPTIONS" The following options are provided by \fBgaim-remote\fR: .TP .B \-h [\fIcommand\fB] Display help for \fBgaim-remote\fR or a specific command (see below). .SH "COMMANDS" The following commands are implemented by \fBgaim-remote\fR: .TP .B quit Closes the currently-running instance of \fBGaim\fR. .TP .B uri [URI] Sends the given AIM-style URI to the currently running instance of \fBGaim\fR (see below). .SH "URIs" The following URIs are currently valid. These default to acting on the first AIM account you have in your list: .TP .B aim:goim?screenname=[SCREENNAME] Begins a new conversation with the given screenname. .TP .B aim:goim?screenname=[SCREENNAME]&message=[MESSAGE] Sends the given message to the screenname. Spaces in the message must be replaced with +. .TP .B aim:gochat?roomname=[CHATROOM] Opens a chat window in the given room. .TP .B aim:addbuddy?screenname=[SCREENNAME] Opens a dialog to add the specified buddy to your buddy list. .SH "FILES" .TP .I /tmp/gaim_[USERNAME].[INSTANCE] The UNIX domain socket used to contact the running instance of \fBGaim\fR. .SH "SEE ALSO" .BR gaim (1), .BR \fIhttp://gaim.sourceforge.net/\fR, .BR \fIhttp://www.sourceforge.net/projects/gaim/\fR .SH "AUTHOR" .PP This manpage was written by Robert McQueen <\fIrobot101@debian.org\fR> for the Debian GNU/Linux system (but may be used by others).