[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.84,1.85
From: |
Philip S Tellis |
Subject: |
Re: [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.84,1.85 |
Date: |
Sat, 22 Mar 2003 18:40:23 +0530 (IST) |
Sometime Today, Colin Leroy <address@hidden> assembled some asciibets to say:
> if(stat(file, &stats) < 0) {
> - do_error_dialog("Could not read file", "Error");
> + do_error_dialog("File is not readable.", "Error");
I think "Could not read file" is more understandable by the user, also,
it takes the blame for the error rather than blaming the file (File is
not readable). If you choose the latter, then it should be File is
unreadable.
I think I should get started on that HCI stuff soon.
> char dialog_message[1025];
> char *tmp = Utf8ToStr(friendlyname);
> - sprintf(dialog_message, _("The MSN user %s (%s) would like to speak with
> you using (Gnome|Net)Meeting.\nDo you want to accept ?"),
> + sprintf(dialog_message, _("The MSN user %s (%s) would like to speak with
> you using (Gnome|Net)Meeting.\n\nDo you want to accept ?"),
This looks like a potential buffer overflow. dialog_message is 1025
bytes, but tmp and from could potentially make it larger - especially if
someone is trying to do it on purpose.
Philip
- Prev by Date:
Re: [Ayttm-commits] CVS: ayttm/src add_contact_window.c,1.18,1.19
- Next by Date:
Re: [Ayttm-commits] CVS: ayttm/src add_contact_window.c,1.18,1.19
- Previous by thread:
[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.84,1.85
- Next by thread:
[Ayttm-commits] CVS: ayttm/src add_contact_window.c,1.18,1.19 away_window.c,1.14,1.15 chat_window.c,1.61,1.62 main.c,1.23,1.24 message_parse.c,1.17,1.18 plugin.c,1.8,1.9 prefs.c,1.30,1.31 sound.c,1.14,1.15
- Index(es):