ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
Draft
|
Mon Feb 26 18:16:35 2018 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Bug report | Linux | 3.1.1 | Re: inactive users | Hi,
sorry to bother again on this issue, but it is causing me some trouble, as many of my users are using the "SetNone" button in their config page, and doing so they deactivate their account, which I have to re-activate manually.
The warning about "Are you sure you want to deactivate your own account ..." is actually triggered only when someone toggle the "active" radio button, but not when the "SetNone" function is used. In that case no warning is present, and the user just deactivate his/her account. I'm sure that this is not the intended behavior.
I attach a modified version of elogd.c (based on git c1866af75bb2fe62aa868c4cf562f43a08e4b499 ) with the modified javascript I proposed earlier in this thread.
best,
Stefano |
Attachment 1: elogd.c
|
/********************************************************************
Name: elogd.c
Created by: Stefan Ritt
Copyright 2000 + Stefan Ritt
ELOG is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ELOG is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the
OpenSSL library under certain conditions as described in each
individual source file, and distribute linked combinations
including the two.
You must obey the GNU General Public License in all respects
for all of the code used other than OpenSSL. If you modify
file(s) with this exception, you may extend this exception to your
version of the file(s), but you are not obligated to do so. If you
do not wish to do so, delete this exception statement from your
version. If you delete this exception statement from all source
files in the program, then also delete it here.
You should have received a copy of the GNU General Public License
along with ELOG. If not, see <http://www.gnu.org/licenses/>.
Contents: Web server program for Electronic Logbook ELOG
\********************************************************************/
#include "elogd.h"
#include "git-revision.h"
const char *_git_revision = GIT_REVISION;
BOOL running_as_daemon; /* Running as a daemon/service? */
int elog_tcp_port; /* Server's TCP port */
static void (*printf_handler) (const char *); /* Handler to printf for logging */
static void (*fputs_handler) (const char *); /* Handler to fputs for logging */
static FILE *current_output_stream = NULL; /* Currently used output stream */
char *return_buffer;
int return_buffer_size;
int strlen_retbuf;
int keep_alive;
char header_buffer[20000];
int return_length;
char host_name[256];
char referer[256];
char browser[256];
char config_file[256];
char resource_dir[256];
char logbook_dir[256];
char listen_interface[256];
char theme_name[80];
char http_host[256];
char http_user[256];
char _param[MAX_PARAM][NAME_LENGTH];
char _value[MAX_PARAM][NAME_LENGTH];
char _mtext[TEXT_SIZE];
char _cmdline[CMD_SIZE];
char *_attachment_buffer;
int _attachment_size;
int _max_content_length = MAX_CONTENT_LENGTH;
struct in_addr rem_addr;
char rem_host[256];
char rem_host_ip[256];
int _sock;
BOOL use_keepalive, enable_execute = FALSE;
BOOL ckedit_exist, image_magick_exist;
int _verbose_level, _current_message_id;
int _logging_level, _ssl_flag;
LOGBOOK *lb_list = NULL;
#define VERBOSE_URL 1
#define VERBOSE_INFO 2
#define VERBOSE_DEBUG 3
#ifdef HAVE_SSL
SSL *_ssl_con;
#endif
char *mname[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September",
"October", "November", "December"
};
char type_list[MAX_N_LIST][NAME_LENGTH] = { "Routine", "Other" };
char category_list[MAX_N_LIST][NAME_LENGTH] = { "General", "Other",
};
char author_list[MAX_N_LIST][NAME_LENGTH] = { "" };
char attr_list[MAX_N_ATTR][NAME_LENGTH];
char attr_options[MAX_N_ATTR][MAX_N_LIST][NAME_LENGTH];
int attr_flags[MAX_N_ATTR];
char attr_list_default[][NAME_LENGTH] = { "Author", "Type", "Category", "Subject", "" };
char attr_options_default[][MAX_N_LIST][NAME_LENGTH] = { {""}, {"Routine", "Other"},
{"General", "Other"}, {""}
};
int attr_flags_default[] = { AF_REQUIRED, 0, 0, 0 };
struct {
char ext[32];
char type[80];
} filetype[] = {
{
".AI", "application/postscript"}, {
".ASC", "text/plain"}, {
".BZ2", "application/x-bzip2"}, {
".CFG", "text/plain"}, {
".CHRT", "application/x-kchart"}, {
".CONF", "text/plain"}, {
".CSH", "application/x-csh"}, {
".CSS", "text/css"}, {
".DOC", "application/msword"}, {
".DVI", "application/x-dvi"}, {
".EPS", "application/postscript"}, {
".GIF", "image/gif"}, {
".GZ", "application/x-gzip"}, {
".HTM", "text/html"}, {
".HTML", "text/html"}, {
".ICO", "image/x-icon"}, {
".JPEG", "image/jpeg"}, {
".JPG", "image/jpeg"}, {
".JS", "application/x-javascript"}, {
".KPR", "application/x-kpresenter"}, {
".KSP", "application/x-kspread"}, {
".KWD", "application/x-kword"}, {
".MP3", "audio/mpeg"}, {
".OGG", "application/x-ogg"}, {
".PDF", "application/pdf"}, {
".PNG", "image/png"}, {
".PS", "application/postscript"}, {
".RAM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RPM", "application/x-rpm"}, {
".RTF", "application/rtf"}, {
".SH", "application/x-sh"}, {
".SVG", "image/svg+xml"}, {
".TAR", "application/x-tar"}, {
".TCL", "application/x-tcl"}, {
".TEX", "application/x-tex"}, {
".TGZ", "application/x-gzip"}, {
".TIF", "image/tiff"}, {
".TIFF", "image/tiff"}, {
".TXT", "text/plain"}, {
".WAV", "audio/x-wav"}, {
".XLS", "application/x-msexcel"}, {
".XML", "text/xml"}, {
".XSL", "text/xml"}, {
".ZIP", "application/x-zip-compressed"}, {
/* Open XML file types */
".DOCM", "application/vnd.ms-word.document.macroEnabled.12"}, {
".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"}, {
".DOTM", "application/vnd.ms-word.template.macroEnabled.12"}, {
".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"}, {
".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"}, {
".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"}, {
".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"}, {
".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"}, {
".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"}, {
".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"}, {
".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}, {
".XPS", "application/vnd.ms-xpsdocument"}, {
"", ""},};
struct {
char language[32];
char abbrev[32];
} lang_table[] = {
{ "brazilian", "br"},
{ "bulgarian", "bg"},
{ "czech", "cz"},
{ "danish", "dk"},
{ "dutch", "nl"},
{ "french", "fr"},
{ "german", "de"},
{ "indonesia", "id"},
{ "italian", "it"},
{ "japanese", "jp"},
{ "polish", "pl"},
{ "ru_CP1251", "ru"},
{ "slowak", "sk"},
{ "spanish", "es"},
{ "swedish", "se"},
{ "turkish", "tr"},
{ "zh_CN-GB2314", "zh"},
{ "zh_CN-UTF8", "zh"},
{ "", "" }
};
char _convert_cmd[256];
char _identify_cmd[256];
#ifdef OS_WINNT
int run_service(void);
#endif
#ifdef OS_UNIX
gid_t orig_gid; /* Original effective GID before dropping privilege */
uid_t orig_uid; /* Original effective UID before dropping privilege */
char pidfile[256]; /* Pidfile name */
#endif
#ifdef __CYGWIN__ /* bug in cygwin, 'timezone' not linked automatically */
long _timezone;
#endif
/*---- Funcions from the MIDAS library -----------------------------*/
#define my_toupper(_c) ( ((_c)>='a' && (_c)<='z') ? ((_c)-'a'+'A') : (_c) )
#define my_tolower(_c) ( ((_c)>='A' && (_c)<='Z') ? ((_c)-'A'+'a') : (_c) )
BOOL strieq(const char *str1, const char *str2)
{
char c1, c2;
if (str1 == NULL && str2 == NULL)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if (strlen(str1) != strlen(str2))
return FALSE;
while (*str1) {
c1 = *str1++;
c2 = *str2++;
if (my_toupper(c1) != my_toupper(c2))
return FALSE;
}
if (*str2)
return FALSE;
return TRUE;
}
BOOL strnieq(const char *str1, const char *str2, int n)
{
char c1, c2;
int i;
if (str1 == NULL && str2 == NULL && n == 0)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if ((int) strlen(str1) < n || (int) strlen(str2) < n)
return FALSE;
for (i = 0; i < n && *str1; i++) {
c1 = *str1++;
c2 = *str2++;
if (my_toupper(c1) != my_toupper(c2))
return FALSE;
}
if (i < n)
return FALSE;
return TRUE;
}
char *stristr(const char *str, const char *pattern)
{
char c1, c2, *ps, *pp;
if (str == NULL || pattern == NULL)
return NULL;
while (*str) {
ps = (char *) str;
pp = (char *) pattern;
c1 = *ps;
c2 = *pp;
if (my_toupper(c1) == my_toupper(c2)) {
while (*pp) {
c1 = *ps;
c2 = *pp;
if (my_toupper(c1) != my_toupper(c2))
... 30944 more lines ...
|
68745
|
Mon Feb 26 18:27:09 2018 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Bug report | Linux | 3.1.3 | Re: inactive users | Hi,
sorry to bother again on this issue, but it is causing me some trouble, as many of my users are using the "SetNone" button in their config page, and doing so they deactivate their account, which I have to
re-activate manually.
The warning about "Are you sure you want to deactivate your own account ..." is actually triggered only when someone toggle the "active" radio button, but not when the "SetNone" function is used. In that
case no warning is present, and the user just deactivate his/her account. I'm sure that this is not the intended behavior.
I attach a modified version of elogd.c (based on git c1866af75bb2fe62aa868c4cf562f43a08e4b499 ) with the modified javascript I proposed earlier in this thread.
best,
Stefano |
Attachment 1: elogd.c
|
/********************************************************************
Name: elogd.c
Created by: Stefan Ritt
Copyright 2000 + Stefan Ritt
ELOG is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ELOG is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the
OpenSSL library under certain conditions as described in each
individual source file, and distribute linked combinations
including the two.
You must obey the GNU General Public License in all respects
for all of the code used other than OpenSSL. If you modify
file(s) with this exception, you may extend this exception to your
version of the file(s), but you are not obligated to do so. If you
do not wish to do so, delete this exception statement from your
version. If you delete this exception statement from all source
files in the program, then also delete it here.
You should have received a copy of the GNU General Public License
along with ELOG. If not, see <http://www.gnu.org/licenses/>.
Contents: Web server program for Electronic Logbook ELOG
\********************************************************************/
#include "elogd.h"
#include "git-revision.h"
const char *_git_revision = GIT_REVISION;
BOOL running_as_daemon; /* Running as a daemon/service? */
int elog_tcp_port; /* Server's TCP port */
static void (*printf_handler) (const char *); /* Handler to printf for logging */
static void (*fputs_handler) (const char *); /* Handler to fputs for logging */
static FILE *current_output_stream = NULL; /* Currently used output stream */
char *return_buffer;
int return_buffer_size;
int strlen_retbuf;
int keep_alive;
char header_buffer[20000];
int return_length;
char host_name[256];
char referer[256];
char browser[256];
char config_file[256];
char resource_dir[256];
char logbook_dir[256];
char listen_interface[256];
char theme_name[80];
char http_host[256];
char http_user[256];
char _param[MAX_PARAM][NAME_LENGTH];
char _value[MAX_PARAM][NAME_LENGTH];
char _mtext[TEXT_SIZE];
char _cmdline[CMD_SIZE];
char *_attachment_buffer;
int _attachment_size;
int _max_content_length = MAX_CONTENT_LENGTH;
struct in_addr rem_addr;
char rem_host[256];
char rem_host_ip[256];
int _sock;
BOOL use_keepalive, enable_execute = FALSE;
BOOL ckedit_exist, image_magick_exist;
int _verbose_level, _current_message_id;
int _logging_level, _ssl_flag;
LOGBOOK *lb_list = NULL;
#define VERBOSE_URL 1
#define VERBOSE_INFO 2
#define VERBOSE_DEBUG 3
#ifdef HAVE_SSL
SSL *_ssl_con;
#endif
char *mname[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September",
"October", "November", "December"
};
char type_list[MAX_N_LIST][NAME_LENGTH] = { "Routine", "Other" };
char category_list[MAX_N_LIST][NAME_LENGTH] = { "General", "Other",
};
char author_list[MAX_N_LIST][NAME_LENGTH] = { "" };
char attr_list[MAX_N_ATTR][NAME_LENGTH];
char attr_options[MAX_N_ATTR][MAX_N_LIST][NAME_LENGTH];
int attr_flags[MAX_N_ATTR];
char attr_list_default[][NAME_LENGTH] = { "Author", "Type", "Category", "Subject", "" };
char attr_options_default[][MAX_N_LIST][NAME_LENGTH] = { {""}, {"Routine", "Other"},
{"General", "Other"}, {""}
};
int attr_flags_default[] = { AF_REQUIRED, 0, 0, 0 };
struct {
char ext[32];
char type[80];
} filetype[] = {
{
".AI", "application/postscript"}, {
".ASC", "text/plain"}, {
".BZ2", "application/x-bzip2"}, {
".CFG", "text/plain"}, {
".CHRT", "application/x-kchart"}, {
".CONF", "text/plain"}, {
".CSH", "application/x-csh"}, {
".CSS", "text/css"}, {
".DOC", "application/msword"}, {
".DVI", "application/x-dvi"}, {
".EPS", "application/postscript"}, {
".GIF", "image/gif"}, {
".GZ", "application/x-gzip"}, {
".HTM", "text/html"}, {
".HTML", "text/html"}, {
".ICO", "image/x-icon"}, {
".JPEG", "image/jpeg"}, {
".JPG", "image/jpeg"}, {
".JS", "application/x-javascript"}, {
".KPR", "application/x-kpresenter"}, {
".KSP", "application/x-kspread"}, {
".KWD", "application/x-kword"}, {
".MP3", "audio/mpeg"}, {
".OGG", "application/x-ogg"}, {
".PDF", "application/pdf"}, {
".PNG", "image/png"}, {
".PS", "application/postscript"}, {
".RAM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RM", "audio/x-pn-realaudio"}, {
".RPM", "application/x-rpm"}, {
".RTF", "application/rtf"}, {
".SH", "application/x-sh"}, {
".SVG", "image/svg+xml"}, {
".TAR", "application/x-tar"}, {
".TCL", "application/x-tcl"}, {
".TEX", "application/x-tex"}, {
".TGZ", "application/x-gzip"}, {
".TIF", "image/tiff"}, {
".TIFF", "image/tiff"}, {
".TXT", "text/plain"}, {
".WAV", "audio/x-wav"}, {
".XLS", "application/x-msexcel"}, {
".XML", "text/xml"}, {
".XSL", "text/xml"}, {
".ZIP", "application/x-zip-compressed"}, {
/* Open XML file types */
".DOCM", "application/vnd.ms-word.document.macroEnabled.12"}, {
".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"}, {
".DOTM", "application/vnd.ms-word.template.macroEnabled.12"}, {
".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"}, {
".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"}, {
".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"}, {
".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"}, {
".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"}, {
".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"}, {
".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"}, {
".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}, {
".XPS", "application/vnd.ms-xpsdocument"}, {
"", ""},};
struct {
char language[32];
char abbrev[32];
} lang_table[] = {
{ "brazilian", "br"},
{ "bulgarian", "bg"},
{ "czech", "cz"},
{ "danish", "dk"},
{ "dutch", "nl"},
{ "french", "fr"},
{ "german", "de"},
{ "indonesia", "id"},
{ "italian", "it"},
{ "japanese", "jp"},
{ "polish", "pl"},
{ "ru_CP1251", "ru"},
{ "slowak", "sk"},
{ "spanish", "es"},
{ "swedish", "se"},
{ "turkish", "tr"},
{ "zh_CN-GB2314", "zh"},
{ "zh_CN-UTF8", "zh"},
{ "", "" }
};
char _convert_cmd[256];
char _identify_cmd[256];
#ifdef OS_WINNT
int run_service(void);
#endif
#ifdef OS_UNIX
gid_t orig_gid; /* Original effective GID before dropping privilege */
uid_t orig_uid; /* Original effective UID before dropping privilege */
char pidfile[256]; /* Pidfile name */
#endif
#ifdef __CYGWIN__ /* bug in cygwin, 'timezone' not linked automatically */
long _timezone;
#endif
/*---- Funcions from the MIDAS library -----------------------------*/
#define my_toupper(_c) ( ((_c)>='a' && (_c)<='z') ? ((_c)-'a'+'A') : (_c) )
#define my_tolower(_c) ( ((_c)>='A' && (_c)<='Z') ? ((_c)-'A'+'a') : (_c) )
BOOL strieq(const char *str1, const char *str2)
{
char c1, c2;
if (str1 == NULL && str2 == NULL)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if (strlen(str1) != strlen(str2))
return FALSE;
while (*str1) {
c1 = *str1++;
c2 = *str2++;
if (my_toupper(c1) != my_toupper(c2))
return FALSE;
}
if (*str2)
return FALSE;
return TRUE;
}
BOOL strnieq(const char *str1, const char *str2, int n)
{
char c1, c2;
int i;
if (str1 == NULL && str2 == NULL && n == 0)
return TRUE;
if (str1 == NULL || str2 == NULL)
return FALSE;
if ((int) strlen(str1) < n || (int) strlen(str2) < n)
return FALSE;
for (i = 0; i < n && *str1; i++) {
c1 = *str1++;
c2 = *str2++;
if (my_toupper(c1) != my_toupper(c2))
return FALSE;
}
if (i < n)
return FALSE;
return TRUE;
}
char *stristr(const char *str, const char *pattern)
{
char c1, c2, *ps, *pp;
if (str == NULL || pattern == NULL)
return NULL;
while (*str) {
ps = (char *) str;
pp = (char *) pattern;
c1 = *ps;
c2 = *pp;
if (my_toupper(c1) == my_toupper(c2)) {
while (*pp) {
c1 = *ps;
c2 = *pp;
if (my_toupper(c1) != my_toupper(c2))
... 30944 more lines ...
|
68809
|
Wed May 23 14:44:08 2018 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Question | Linux | V3.1.3 | both "email <attribute> <value" and "email all" at the same time | Hi,
I have an elogbook which sends notifications to subscribers, plus, if the "Type" is "New Run", it sends the notification to a different mailing addeess and with a different subject (which need to be parsed by
a script, but that's not relevant). All works fine: the snippet of config is below.
Attributes = Subject, Author, Type
Options Type = New Run{1}
Email All = all@experiment.org
Use Email Subject = [demo] $Subject from $Author
Email Type "New Run" = new-run@experiment.org
{1} Use Email Subject = NEWRUN
However, I'd like that the notification is always sent to all@experiment.org for all entries with the standard subject, and *also* to new-run@experiment.org in case of new run with the customized one.
Apparently with the config that I'm using this is not happening, and the "new run" are only sent to new-run@experiment.org (w/ subject NEWRUN).
I could easily add the generic address in addition to new-run@experiment.org, ie:
Email Type "New Run" = new-run@experiment.org, all@experiment.org
but in this case the subject would be "NEWRUN", while I'd like it to be "[demo] $Subject from $Author".
Any idea about how this can be done?
thanks in advance, Stefano |
68824
|
Thu Jun 14 13:12:02 2018 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Question | Linux | 3.1.3 | edit templates from config page | Dear all,
I have some logbook which uses preset text depending on some option values, and uses text files for this.
something similar to:
Options Type = Start of shift{1}, 2h{2}, 4h{3}, 6h{4}, End of shift {5}
{1} Preset text = MCProdStart.txt
{2} Preset text = MCProd2h.txt
{3} Preset text = MCProd4h.txt
{4} Preset text = MCProd6h.txt
{5} Preset text = MCProdEnd.txt
I wonder if there is a way to change/edit the text files from the web interface if you are admin of that logbook, or if the only way is to change the files directly in the elog server.
thanks Stefano |
68884
|
Tue Feb 5 07:31:44 2019 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Bug report | Linux | 3.1.3 | quick filter not working for attributes with special char | Hi,
I'm using elog 3.1.3 and I have an elogbook with an attribute with name
Attributes = Author, CO2 Temp [deg], ...
If I add this attributes to quick list,
Quick filter = Author, CO2 Temp [deg]
it does display on web page, but the search fails with "ERR_TOO_MANY_REDIRECTS" if I leave the default value in the corresponding quick filter box.
My understanding is that the presence of a "[]" in the default search value is the reason for failure and if I remove them the search works fine.
Is there a workaround?
I don't want to change the attribute name, since I do have quite a large number of entries in the elogbook, and I'd like to keep the attribute in the quick search if possible.
Thanks,
Stefano |
69032
|
Thu Oct 10 11:58:14 2019 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Question | Windows | 3.4.1 | Re: Author name in reply to entry is from original poster | This should do the trick
Preset on reply Author = $long_name
Best, Stefano
Max wrote: |
My elog has this config for the author:
Option Author = Filled In Automatically
Preset Author = $Long_name
Locked Attributes = Author
This works as intended: when you submit a new entry, the author name is filled in automatically and cannot be changed.
However, when Alice wants to post a reply to an entry the Bruce has made, the preset author name does not say Alice, it says Bruce. I haven't been able to find out how to change this (other than make the author name editable). Even when Author isn't configured as as locked attribute, it still displays the original author's name.
How can I get this to work like I want/need to?
|
|
69135
|
Tue Apr 14 13:26:50 2020 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Bug report | Linux | ELOG V3.1.3- | very long subject cause buffer overflow | Hi,
I'm using elog 313 on an ubuntu server.
A user inserted a very long subject by mistake (the text was supposed to go into the body, but he copy pasted in the wrong place).
This results in elogd crash with buffer overflow error when I try to look at the list of that elgbook.
I can reproduce it on my test server by copy pasting lorem ipsum in the Subject field of the demo elogbook. I'm not doing that here for obvious reason.
If I cut the length of the Subject in the *.log file by hand, all is back to normal.
Is there a way to protect from this problem in the front-end?
Thanks,
Stefano
Full backtrace follow.
*** buffer overflow detected ***: /usr/sbin/elogd terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f4d22c717e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f4d22d1315c]
/lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7f4d22d11160]
/lib/x86_64-linux-gnu/libc.so.6(+0x1166c9)[0x7f4d22d106c9]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7f4d22c756b0]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x139b)[0x7f4d22c4850b]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7f4d22d10754]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f4d22d106ad]
/usr/sbin/elogd[0x4547ca]
/usr/sbin/elogd[0x4793f0]
/usr/sbin/elogd[0x4955e0]
/usr/sbin/elogd[0x495876]
/usr/sbin/elogd[0x497bae]
/usr/sbin/elogd[0x49a6ca]
/usr/sbin/elogd[0x403ea7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4d22c1a830]
/usr/sbin/elogd[0x404ae9]
======= Memory map: ========
00400000-004d4000 r-xp 00000000 ca:01 135411 /usr/sbin/elogd
006d3000-006d4000 r--p 000d3000 ca:01 135411 /usr/sbin/elogd
006d4000-007b5000 rw-p 000d4000 ca:01 135411 /usr/sbin/elogd
007b5000-0172b000 rw-p 00000000 00:00 0
01a98000-01cd1000 rw-p 00000000 00:00 0 [heap]
7f4d1daac000-7f4d1dac2000 r-xp 00000000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4d1dac2000-7f4d1dcc1000 ---p 00016000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4d1dcc1000-7f4d1dcc2000 rw-p 00015000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f4d1dcc2000-7f4d1e6af000 r--s 00000000 ca:03 1305745 /var/lib/sss/mc/initgroups
7f4d1e6af000-7f4d1e6b7000 r-xp 00000000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
7f4d1e6b7000-7f4d1e8b6000 ---p 00008000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
7f4d1e8b6000-7f4d1e8b7000 r--p 00007000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
7f4d1e8b7000-7f4d1e8b8000 rw-p 00008000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
7f4d1e8b8000-7f4d1e8c3000 r-xp 00000000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f4d1e8c3000-7f4d1eac2000 ---p 0000b000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f4d1eac2000-7f4d1eac3000 r--p 0000a000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f4d1eac3000-7f4d1eac4000 rw-p 0000b000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f4d1eac4000-7f4d1eaca000 rw-p 00000000 00:00 0
7f4d1eaca000-7f4d1ef26000 r--p 00000000 ca:01 134295 /usr/lib/locale/locale-archive
7f4d1ef26000-7f4d1ef2d000 r-xp 00000000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f4d1ef2d000-7f4d1f12c000 ---p 00007000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f4d1f12c000-7f4d1f12d000 r--p 00006000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f4d1f12d000-7f4d1f12e000 rw-p 00007000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f4d1f12e000-7f4d1f137000 r-xp 00000000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f4d1f137000-7f4d1f336000 ---p 00009000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f4d1f336000-7f4d1f337000 r--p 00008000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f4d1f337000-7f4d1f338000 rw-p 00009000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f4d1f338000-7f4d1f366000 rw-p 00000000 00:00 0
7f4d1f366000-7f4d1f436000 r-xp 00000000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f4d1f436000-7f4d1f635000 ---p 000d0000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f4d1f635000-7f4d1f638000 r--p 000cf000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f4d1f638000-7f4d1f63a000 rw-p 000d2000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f4d1f63a000-7f4d1f63b000 rw-p 00000000 00:00 0
7f4d1f63b000-7f4d1f682000 r-xp 00000000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f4d1f682000-7f4d1f881000 ---p 00047000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f4d1f881000-7f4d1f883000 r--p 00046000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f4d1f883000-7f4d1f885000 rw-p 00048000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f4d1f885000-7f4d1f886000 rw-p 00000000 00:00 0
7f4d1f886000-7f4d1f894000 r-xp 00000000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f4d1f894000-7f4d1fa93000 ---p 0000e000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f4d1fa93000-7f4d1fa94000 r--p 0000d000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f4d1fa94000-7f4d1fa95000 rw-p 0000e000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f4d1fa95000-7f4d1fabc000 r-xp 00000000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f4d1fabc000-7f4d1fcbc000 ---p 00027000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f4d1fcbc000-7f4d1fcbd000 r--p 00027000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f4d1fcbd000-7f4d1fcbe000 rw-p 00028000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f4d1fcbe000-7f4d1fd3d000 r-xp 00000000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f4d1fd3d000-7f4d1ff3c000 ---p 0007f000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f4d1ff3c000-7f4d1ff3d000 r--p 0007e000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f4d1ff3d000-7f4d1ff3e000 rw-p 0007f000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f4d1ff3e000-7f4d1ff70000 r-xp 00000000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f4d1ff70000-7f4d2016f000 ---p 00032000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f4d2016f000-7f4d20170000 r--p 00031000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f4d20170000-7f4d20171000 rw-p 00032000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f4d20171000-7f4d201a5000 r-xp 00000000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f4d201a5000-7f4d203a4000 ---p 00034000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f4d203a4000-7f4d203a6000 r--p 00033000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f4d203a6000-7f4d203a7000 rw-p 00035000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f4d203a7000-7f4d203b8000 r-xp 00000000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f4d203b8000-7f4d205b8000 ---p 00011000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f4d205b8000-7f4d205b9000 r--p 00011000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f4d205b9000-7f4d205ba000 rw-p 00012000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f4d205ba000-7f4d205eb000 r-xp 00000000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f4d205eb000-7f4d207eb000 ---p 00031000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f4d207eb000-7f4d207ec000 r--p 00031000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f4d207ec000-7f4d207ed000 rw-p 00032000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f4d207ed000-7f4d20846000 r-xp 00000000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f4d20846000-7f4d20a45000 ---p 00059000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f4d20a45000-7f4d20a4f000 r--p 00058000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f4d20a4f000-7f4d20a51000 rw-p 00062000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f4d20a51000-7f4d20a6a000 r-xp 00000000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4d20a6a000-7f4d20c69000 ---p 00019000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4d20c69000-7f4d20c6a000 r--p 00018000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4d20c6a000-7f4d20c6b000 rw-p 00019000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f4d20c6b000-7f4d20c80000 r-xp 00000000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f4d20c80000-7f4d20e7f000 ---p 00015000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f4d20e7f000-7f4d20e80000 r--p 00014000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f4d20e80000-7f4d20e81000 rw-p 00015000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f4d20e81000-7f4d20eb1000 r-xp 00000000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f4d20eb1000-7f4d210b1000 ---p 00030000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f4d210b1000-7f4d210b2000 r--p 00030000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f4d210b2000-7f4d210b3000 rw-p 00031000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f4d210b3000-7f4d210b4000 rw-p 00000000 00:00 0
7f4d210b4000-7f4d210b7000 r-xp 00000000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f4d210b7000-7f4d212b6000 ---p 00003000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f4d212b6000-7f4d212b7000 r--p 00002000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f4d212b7000-7f4d212b8000 rw-p 00003000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f4d212b8000-7f4d21357000 r-xp 00000000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f4d21357000-7f4d21556000 ---p 0009f000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f4d21556000-7f4d21557000 r--p 0009e000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f4d21557000-7f4d2155a000 rw-p 0009f000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f4d2155a000-7f4d215de000 r-xp 00000000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f4d215de000-7f4d217dd000 ---p 00084000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f4d217dd000-7f4d217e0000 r--p 00083000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f4d217e0000-7f4d217e3000 rw-p 00086000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f4d217e3000-7f4d217e4000 rw-p 00000000 00:00 0
7f4d217e4000-7f4d217ec000 r-xp 00000000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f4d217ec000-7f4d219eb000 ---p 00008000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f4d219eb000-7f4d219ec000 r--p 00007000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f4d219ec000-7f4d219ed000 rw-p 00008000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f4d219ed000-7f4d219f0000 r-xp 00000000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
7f4d219f0000-7f4d21bef000 ---p 00003000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
7f4d21bef000-7f4d21bf0000 r--p 00002000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
7f4d21bf0000-7f4d21bf1000 rw-p 00003000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
7f4d21bf1000-7f4d21c09000 r-xp 00000000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4d21c09000-7f4d21e08000 ---p 00018000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4d21e08000-7f4d21e09000 r--p 00017000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4d21e09000-7f4d21e0a000 rw-p 00018000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f4d21e0a000-7f4d21e0e000 rw-p 00000000 00:00 0
7f4d21e0e000-7f4d21f31000 r-xp 00000000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f4d21f31000-7f4d22130000 ---p 00123000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f4d22130000-7f4d2213b000 r--p 00122000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f4d2213b000-7f4d2213d000 rw-p 0012d000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f4d2213d000-7f4d2213e000 rw-p 00000000 00:00 0
7f4d2213e000-7f4d2217b000 r-xp 00000000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f4d2217b000-7f4d2237b000 ---p 0003d000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f4d2237b000-7f4d2237c000 r--p 0003d000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f4d2237c000-7f4d2237e000 rw-p 0003e000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f4d2237e000-7f4d2237f000 rw-p 00000000 00:00 0
7f4d2237f000-7f4d22398000 r-xp 00000000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f4d22398000-7f4d22598000 ---p 00019000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f4d22598000-7f4d22599000 r--p 00019000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f4d22599000-7f4d2259a000 rw-p 0001a000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f4d2259a000-7f4d225b1000 r-xp 00000000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
7f4d225b1000-7f4d227b1000 ---p 00017000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
7f4d227b1000-7f4d227b2000 r--p 00017000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
7f4d227b2000-7f4d227b3000 rw-p 00018000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
7f4d227b3000-7f4d227b5000 rw-p 00000000 00:00 0
7f4d227b5000-7f4d229d0000 r-xp 00000000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f4d229d0000-7f4d22bcf000 ---p 0021b000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f4d22bcf000-7f4d22beb000 r--p 0021a000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f4d22beb000-7f4d22bf7000 rw-p 00236000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f4d22bf7000-7f4d22bfa000 rw-p 00000000 00:00 0
7f4d22bfa000-7f4d22dba000 r-xp 00000000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
7f4d22dba000-7f4d22fba000 ---p 001c0000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
7f4d22fba000-7f4d22fbe000 r--p 001c0000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
7f4d22fbe000-7f4d22fc0000 rw-p 001c4000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
7f4d22fc0000-7f4d22fc4000 rw-p 00000000 00:00 0
7f4d22fc4000-7f4d22fd1000 r-xp 00000000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f4d22fd1000-7f4d231d1000 ---p 0000d000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f4d231d1000-7f4d231d2000 r--p 0000d000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f4d231d2000-7f4d231d3000 rw-p 0000e000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f4d231d3000-7f4d23220000 r-xp 00000000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f4d23220000-7f4d2341f000 ---p 0004d000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f4d2341f000-7f4d23421000 r--p 0004c000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f4d23421000-7f4d23422000 rw-p 0004e000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f4d23422000-7f4d23424000 rw-p 00000000 00:00 0
7f4d23424000-7f4d23482000 r-xp 00000000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f4d23482000-7f4d23682000 ---p 0005e000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f4d23682000-7f4d23686000 r--p 0005e000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f4d23686000-7f4d2368d000 rw-p 00062000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f4d2368d000-7f4d236b3000 r-xp 00000000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
7f4d23888000-7f4d23898000 rw-p 00000000 00:00 0
7f4d238b1000-7f4d238b2000 rw-p 00000000 00:00 0
7f4d238b2000-7f4d238b3000 r--p 00025000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
7f4d238b3000-7f4d238b4000 rw-p 00026000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
7f4d238b4000-7f4d238b5000 rw-p 00000000 00:00 0
7ffdfb535000-7ffdfb632000 rw-p 00000000 00:00 0 [stack]
7ffdfb64d000-7ffdfb64f000 r--p 00000000 00:00 0 [vvar]
7ffdfb64f000-7ffdfb651000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted |
69136
|
Thu Apr 16 10:07:18 2020 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Bug report | Linux | ELOG V3.1.3- | Re: very long subject cause buffer overflow | Additional information: I tried to recompile with -g (debug) and run it in gdb but the crash is not reproduced that way (w/ or w/o gdb). I guess that the memory handling in debug mode is different so the corruption is not
there anymore.
Best,
Stefano
> Hi,
> I'm using elog 313 on an ubuntu server.
>
> A user inserted a very long subject by mistake (the text was supposed to go into the body, but he copy pasted in the wrong place).
> This results in elogd crash with buffer overflow error when I try to look at the list of that elgbook.
>
> I can reproduce it on my test server by copy pasting lorem ipsum in the Subject field of the demo elogbook. I'm not doing that here for obvious reason.
>
> If I cut the length of the Subject in the *.log file by hand, all is back to normal.
>
> Is there a way to protect from this problem in the front-end?
>
> Thanks,
> Stefano
>
> Full backtrace follow.
>
> *** buffer overflow detected ***: /usr/sbin/elogd terminated
> ======= Backtrace: =========
> /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f4d22c717e5]
> /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f4d22d1315c]
> /lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7f4d22d11160]
> /lib/x86_64-linux-gnu/libc.so.6(+0x1166c9)[0x7f4d22d106c9]
> /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7f4d22c756b0]
> /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x139b)[0x7f4d22c4850b]
> /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7f4d22d10754]
> /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f4d22d106ad]
> /usr/sbin/elogd[0x4547ca]
> /usr/sbin/elogd[0x4793f0]
> /usr/sbin/elogd[0x4955e0]
> /usr/sbin/elogd[0x495876]
> /usr/sbin/elogd[0x497bae]
> /usr/sbin/elogd[0x49a6ca]
> /usr/sbin/elogd[0x403ea7]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f4d22c1a830]
> /usr/sbin/elogd[0x404ae9]
> ======= Memory map: ========
> 00400000-004d4000 r-xp 00000000 ca:01 135411 /usr/sbin/elogd
> 006d3000-006d4000 r--p 000d3000 ca:01 135411 /usr/sbin/elogd
> 006d4000-007b5000 rw-p 000d4000 ca:01 135411 /usr/sbin/elogd
> 007b5000-0172b000 rw-p 00000000 00:00 0
> 01a98000-01cd1000 rw-p 00000000 00:00 0 [heap]
> 7f4d1daac000-7f4d1dac2000 r-xp 00000000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f4d1dac2000-7f4d1dcc1000 ---p 00016000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f4d1dcc1000-7f4d1dcc2000 rw-p 00015000 ca:01 651589 /lib/x86_64-linux-gnu/libgcc_s.so.1
> 7f4d1dcc2000-7f4d1e6af000 r--s 00000000 ca:03 1305745 /var/lib/sss/mc/initgroups
> 7f4d1e6af000-7f4d1e6b7000 r-xp 00000000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
> 7f4d1e6b7000-7f4d1e8b6000 ---p 00008000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
> 7f4d1e8b6000-7f4d1e8b7000 r--p 00007000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
> 7f4d1e8b7000-7f4d1e8b8000 rw-p 00008000 ca:01 651532 /lib/x86_64-linux-gnu/libnss_sss.so.2
> 7f4d1e8b8000-7f4d1e8c3000 r-xp 00000000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
> 7f4d1e8c3000-7f4d1eac2000 ---p 0000b000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
> 7f4d1eac2000-7f4d1eac3000 r--p 0000a000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
> 7f4d1eac3000-7f4d1eac4000 rw-p 0000b000 ca:01 652680 /lib/x86_64-linux-gnu/libnss_files-2.23.so
> 7f4d1eac4000-7f4d1eaca000 rw-p 00000000 00:00 0
> 7f4d1eaca000-7f4d1ef26000 r--p 00000000 ca:01 134295 /usr/lib/locale/locale-archive
> 7f4d1ef26000-7f4d1ef2d000 r-xp 00000000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f4d1ef2d000-7f4d1f12c000 ---p 00007000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f4d1f12c000-7f4d1f12d000 r--p 00006000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f4d1f12d000-7f4d1f12e000 rw-p 00007000 ca:01 136072 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
> 7f4d1f12e000-7f4d1f137000 r-xp 00000000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
> 7f4d1f137000-7f4d1f336000 ---p 00009000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
> 7f4d1f336000-7f4d1f337000 r--p 00008000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
> 7f4d1f337000-7f4d1f338000 rw-p 00009000 ca:01 652677 /lib/x86_64-linux-gnu/libcrypt-2.23.so
> 7f4d1f338000-7f4d1f366000 rw-p 00000000 00:00 0
> 7f4d1f366000-7f4d1f436000 r-xp 00000000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
> 7f4d1f436000-7f4d1f635000 ---p 000d0000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
> 7f4d1f635000-7f4d1f638000 r--p 000cf000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
> 7f4d1f638000-7f4d1f63a000 rw-p 000d2000 ca:01 138952 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
> 7f4d1f63a000-7f4d1f63b000 rw-p 00000000 00:00 0
> 7f4d1f63b000-7f4d1f682000 r-xp 00000000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
> 7f4d1f682000-7f4d1f881000 ---p 00047000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
> 7f4d1f881000-7f4d1f883000 r--p 00046000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
> 7f4d1f883000-7f4d1f885000 rw-p 00048000 ca:01 137392 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
> 7f4d1f885000-7f4d1f886000 rw-p 00000000 00:00 0
> 7f4d1f886000-7f4d1f894000 r-xp 00000000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
> 7f4d1f894000-7f4d1fa93000 ---p 0000e000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
> 7f4d1fa93000-7f4d1fa94000 r--p 0000d000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
> 7f4d1fa94000-7f4d1fa95000 rw-p 0000e000 ca:01 137386 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
> 7f4d1fa95000-7f4d1fabc000 r-xp 00000000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
> 7f4d1fabc000-7f4d1fcbc000 ---p 00027000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
> 7f4d1fcbc000-7f4d1fcbd000 r--p 00027000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
> 7f4d1fcbd000-7f4d1fcbe000 rw-p 00028000 ca:01 137389 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
> 7f4d1fcbe000-7f4d1fd3d000 r-xp 00000000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
> 7f4d1fd3d000-7f4d1ff3c000 ---p 0007f000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
> 7f4d1ff3c000-7f4d1ff3d000 r--p 0007e000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
> 7f4d1ff3d000-7f4d1ff3e000 rw-p 0007f000 ca:01 136076 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
> 7f4d1ff3e000-7f4d1ff70000 r-xp 00000000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
> 7f4d1ff70000-7f4d2016f000 ---p 00032000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
> 7f4d2016f000-7f4d20170000 r--p 00031000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
> 7f4d20170000-7f4d20171000 rw-p 00032000 ca:01 133867 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
> 7f4d20171000-7f4d201a5000 r-xp 00000000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
> 7f4d201a5000-7f4d203a4000 ---p 00034000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
> 7f4d203a4000-7f4d203a6000 r--p 00033000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
> 7f4d203a6000-7f4d203a7000 rw-p 00035000 ca:01 133869 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
> 7f4d203a7000-7f4d203b8000 r-xp 00000000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
> 7f4d203b8000-7f4d205b8000 ---p 00011000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
> 7f4d205b8000-7f4d205b9000 r--p 00011000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
> 7f4d205b9000-7f4d205ba000 rw-p 00012000 ca:01 133877 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
> 7f4d205ba000-7f4d205eb000 r-xp 00000000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
> 7f4d205eb000-7f4d207eb000 ---p 00031000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
> 7f4d207eb000-7f4d207ec000 r--p 00031000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
> 7f4d207ec000-7f4d207ed000 rw-p 00032000 ca:01 133871 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
> 7f4d207ed000-7f4d20846000 r-xp 00000000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
> 7f4d20846000-7f4d20a45000 ---p 00059000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
> 7f4d20a45000-7f4d20a4f000 r--p 00058000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
> 7f4d20a4f000-7f4d20a51000 rw-p 00062000 ca:01 133875 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
> 7f4d20a51000-7f4d20a6a000 r-xp 00000000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f4d20a6a000-7f4d20c69000 ---p 00019000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f4d20c69000-7f4d20c6a000 r--p 00018000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f4d20c6a000-7f4d20c6b000 rw-p 00019000 ca:01 651781 /lib/x86_64-linux-gnu/libz.so.1.2.8
> 7f4d20c6b000-7f4d20c80000 r-xp 00000000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
> 7f4d20c80000-7f4d20e7f000 ---p 00015000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
> 7f4d20e7f000-7f4d20e80000 r--p 00014000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
> 7f4d20e80000-7f4d20e81000 rw-p 00015000 ca:01 137377 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
> 7f4d20e81000-7f4d20eb1000 r-xp 00000000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
> 7f4d20eb1000-7f4d210b1000 ---p 00030000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
> 7f4d210b1000-7f4d210b2000 r--p 00030000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
> 7f4d210b2000-7f4d210b3000 rw-p 00031000 ca:01 137383 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
> 7f4d210b3000-7f4d210b4000 rw-p 00000000 00:00 0
> 7f4d210b4000-7f4d210b7000 r-xp 00000000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
> 7f4d210b7000-7f4d212b6000 ---p 00003000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
> 7f4d212b6000-7f4d212b7000 r--p 00002000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
> 7f4d212b7000-7f4d212b8000 rw-p 00003000 ca:01 651540 /lib/x86_64-linux-gnu/libcom_err.so.2.1
> 7f4d212b8000-7f4d21357000 r-xp 00000000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
> 7f4d21357000-7f4d21556000 ---p 0009f000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
> 7f4d21556000-7f4d21557000 r--p 0009e000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
> 7f4d21557000-7f4d2155a000 rw-p 0009f000 ca:01 137380 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
> 7f4d2155a000-7f4d215de000 r-xp 00000000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
> 7f4d215de000-7f4d217dd000 ---p 00084000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
> 7f4d217dd000-7f4d217e0000 r--p 00083000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
> 7f4d217e0000-7f4d217e3000 rw-p 00086000 ca:01 137395 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
> 7f4d217e3000-7f4d217e4000 rw-p 00000000 00:00 0
> 7f4d217e4000-7f4d217ec000 r-xp 00000000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
> 7f4d217ec000-7f4d219eb000 ---p 00008000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
> 7f4d219eb000-7f4d219ec000 r--p 00007000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
> 7f4d219ec000-7f4d219ed000 rw-p 00008000 ca:01 137400 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
> 7f4d219ed000-7f4d219f0000 r-xp 00000000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
> 7f4d219f0000-7f4d21bef000 ---p 00003000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
> 7f4d21bef000-7f4d21bf0000 r--p 00002000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
> 7f4d21bf0000-7f4d21bf1000 rw-p 00003000 ca:01 652668 /lib/x86_64-linux-gnu/libdl-2.23.so
> 7f4d21bf1000-7f4d21c09000 r-xp 00000000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
> 7f4d21c09000-7f4d21e08000 ---p 00018000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
> 7f4d21e08000-7f4d21e09000 r--p 00017000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
> 7f4d21e09000-7f4d21e0a000 rw-p 00018000 ca:01 652670 /lib/x86_64-linux-gnu/libpthread-2.23.so
> 7f4d21e0a000-7f4d21e0e000 rw-p 00000000 00:00 0
> 7f4d21e0e000-7f4d21f31000 r-xp 00000000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
> 7f4d21f31000-7f4d22130000 ---p 00123000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
> 7f4d22130000-7f4d2213b000 r--p 00122000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
> 7f4d2213b000-7f4d2213d000 rw-p 0012d000 ca:01 130646 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
> 7f4d2213d000-7f4d2213e000 rw-p 00000000 00:00 0
> 7f4d2213e000-7f4d2217b000 r-xp 00000000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
> 7f4d2217b000-7f4d2237b000 ---p 0003d000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
> 7f4d2237b000-7f4d2237c000 r--p 0003d000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
> 7f4d2237c000-7f4d2237e000 rw-p 0003e000 ca:01 137406 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
> 7f4d2237e000-7f4d2237f000 rw-p 00000000 00:00 0
> 7f4d2237f000-7f4d22398000 r-xp 00000000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
> 7f4d22398000-7f4d22598000 ---p 00019000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
> 7f4d22598000-7f4d22599000 r--p 00019000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
> 7f4d22599000-7f4d2259a000 rw-p 0001a000 ca:01 131029 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
> 7f4d2259a000-7f4d225b1000 r-xp 00000000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
> 7f4d225b1000-7f4d227b1000 ---p 00017000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
> 7f4d227b1000-7f4d227b2000 r--p 00017000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
> 7f4d227b2000-7f4d227b3000 rw-p 00018000 ca:01 652676 /lib/x86_64-linux-gnu/libresolv-2.23.so
> 7f4d227b3000-7f4d227b5000 rw-p 00000000 00:00 0
> 7f4d227b5000-7f4d229d0000 r-xp 00000000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> 7f4d229d0000-7f4d22bcf000 ---p 0021b000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> 7f4d22bcf000-7f4d22beb000 r--p 0021a000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> 7f4d22beb000-7f4d22bf7000 rw-p 00236000 ca:01 651557 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
> 7f4d22bf7000-7f4d22bfa000 rw-p 00000000 00:00 0
> 7f4d22bfa000-7f4d22dba000 r-xp 00000000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
> 7f4d22dba000-7f4d22fba000 ---p 001c0000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
> 7f4d22fba000-7f4d22fbe000 r--p 001c0000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
> 7f4d22fbe000-7f4d22fc0000 rw-p 001c4000 ca:01 652683 /lib/x86_64-linux-gnu/libc-2.23.so
> 7f4d22fc0000-7f4d22fc4000 rw-p 00000000 00:00 0
> 7f4d22fc4000-7f4d22fd1000 r-xp 00000000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
> 7f4d22fd1000-7f4d231d1000 ---p 0000d000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
> 7f4d231d1000-7f4d231d2000 r--p 0000d000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
> 7f4d231d2000-7f4d231d3000 rw-p 0000e000 ca:01 130557 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
> 7f4d231d3000-7f4d23220000 r-xp 00000000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
> 7f4d23220000-7f4d2341f000 ---p 0004d000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
> 7f4d2341f000-7f4d23421000 r--p 0004c000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
> 7f4d23421000-7f4d23422000 rw-p 0004e000 ca:01 130560 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
> 7f4d23422000-7f4d23424000 rw-p 00000000 00:00 0
> 7f4d23424000-7f4d23482000 r-xp 00000000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
> 7f4d23482000-7f4d23682000 ---p 0005e000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
> 7f4d23682000-7f4d23686000 r--p 0005e000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
> 7f4d23686000-7f4d2368d000 rw-p 00062000 ca:01 651645 /lib/x86_64-linux-gnu/libssl.so.1.0.0
> 7f4d2368d000-7f4d236b3000 r-xp 00000000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
> 7f4d23888000-7f4d23898000 rw-p 00000000 00:00 0
> 7f4d238b1000-7f4d238b2000 rw-p 00000000 00:00 0
> 7f4d238b2000-7f4d238b3000 r--p 00025000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
> 7f4d238b3000-7f4d238b4000 rw-p 00026000 ca:01 652669 /lib/x86_64-linux-gnu/ld-2.23.so
> 7f4d238b4000-7f4d238b5000 rw-p 00000000 00:00 0
> 7ffdfb535000-7ffdfb632000 rw-p 00000000 00:00 0 [stack]
> 7ffdfb64d000-7ffdfb64f000 r--p 00000000 00:00 0 [vvar]
> 7ffdfb64f000-7ffdfb651000 r-xp 00000000 00:00 0 [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
> Aborted |
|