ALT Linux Bugzilla
– Attachment 4464 Details for
Bug 23796
Падает с сегфолтом при вводе корректного формата имени лог-фаила
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Пекапатч, чинит падение в сегфолт, но нужного всё равно не делает
putty-0.60-alt-logappend.patch (text/plain), 534 bytes, created by
Evgenii Terechkov
on 2010-07-22 18:23:00 MSD
(
hide
)
Description:
Пекапатч, чинит падение в сегфолт, но нужного всё равно не делает
Filename:
MIME Type:
Creator:
Evgenii Terechkov
Created:
2010-07-22 18:23:00 MSD
Size:
534 bytes
patch
obsolete
>diff -ruN putty-0.60.orig/unix/uxmisc.c putty-0.60/unix/uxmisc.c >--- putty-0.60.orig/unix/uxmisc.c 2007-01-20 21:13:57.000000000 +0700 >+++ putty-0.60/unix/uxmisc.c 2010-07-22 21:28:42.000000000 +0800 >@@ -141,7 +141,7 @@ > return fopen(filename.path, mode); > } else { > int fd; >- assert(mode[0] == 'w'); /* is_private is meaningless for read */ >+ assert(mode[0] == 'w' || mode[0] == 'a'); /* is_private is meaningless for read */ > fd = open(filename.path, O_WRONLY | O_CREAT | O_TRUNC, > 0700); > if (fd < 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23796
:
4464
|
4576