ALT Linux Bugzilla
– Attachment 2044 Details for
Bug 12135
Падает scrollkeeper-update при неправильном состоянии каталогов
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление переполнения буфера
scrollkeeper.patch (text/plain), 628 bytes, created by
serpiph
on 2007-06-25 16:24:50 MSD
(
hide
)
Description:
Исправление переполнения буфера
Filename:
MIME Type:
Creator:
serpiph
Created:
2007-06-25 16:24:50 MSD
Size:
628 bytes
patch
obsolete
>diff -Naur scrollkeeper-0.3.14.orig/libs/database.c scrollkeeper-0.3.14/libs/database.c >--- scrollkeeper-0.3.14.orig/libs/database.c 2002-06-02 10:03:10 +0400 >+++ scrollkeeper-0.3.14/libs/database.c 2007-06-25 16:22:44 +0400 >@@ -22,6 +22,7 @@ > #include <stddef.h> > #include <unistd.h> > #include <sys/stat.h> >+#include <sys/param.h> > #include <errno.h> > #include <libintl.h> > #include <dirent.h> >@@ -160,7 +161,7 @@ > else /* link the directory */ > { > char *target_locale; >- char aux_path[PATHLEN]; >+ char aux_path[MAXPATHLEN]; > > realpath(source_path, aux_path); > target_locale = strrchr(aux_path, '/');
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 12135
:
2040
|
2041
|
2042
|
2044
|
2045
|
2047
|
2052
|
2062
|
2063
|
2065
|
2070