|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
12 Oct 2003, Konstantin Olchanski, , mhttpd: add Elog text to outgoing email.
|
13 Oct 2003, Stefan Ritt, , mhttpd: add Elog text to outgoing email.
|
13 Oct 2003, Konstantin Olchanski, , mhttpd: add Elog text to outgoing email.
|
13 Oct 2003, Stefan Ritt, , mhttpd: add Elog text to outgoing email.
|
|
Message ID: 127
Entry time: 13 Oct 2003
In reply to: 126
Reply to this: 128
|
Author: |
Konstantin Olchanski |
Topic: |
|
Subject: |
mhttpd: add Elog text to outgoing email. |
|
|
> > around to implement it, until now. I also added assert() traps for the most
> > common array overruns in the Elog code.
>
> In addition to the assert() one should use strlcat() and strlcpy() all over
> the code to avoid buffer overruns. The ELOG standalone code does that already
> properly.
>
> - Stefan
Yes, the original authors should have used strlcat(). Now that I uncovered this source of mhttpd
memory corruption, maybe some volunteer will fix it up properly.
K.O. |