search for: fdprintf

Displaying 6 results from an estimated 6 matches for "fdprintf".

Did you mean: dprintf
2007 Jul 30
1
MeetMe through DeadAGI has changed to return -1 on Hangup
...k-1.2.19/res/res_agi.c 44c44 < ASTERISK_FILE_VERSION(__FILE__, "$Revision: 71656 $") --- > ASTERISK_FILE_VERSION(__FILE__, "$Revision: 54771 $") 572c572,579 < ast_playstream(fs); --- > res = ast_playstream(fs); > if (res) { > fdprintf(agi->fd, "200 result=%d endpos=%ld\n", res, sample_offset); > if (res >= 0) > return RESULT_SHOWUSAGE; > else > return RESULT_FAILURE; > } 625c632,639 < ast_playstream(fs);...
2005 Mar 24
0
AGI commands STDOUT problem
...gram runs perfectly in the other server is very annoying :( , So, i started to look out in the Asterisk C code. I checked out mainly the file res/agi_res.c well, once here i checked the function 'static void setup_env' that function sends the initial environment variables, uses the function fdprintf, that appears to be a redefinition of printf_to_agi_result_buffer function,to send data to the AGI script. I assume that since i receive correctly the initial data, then the function fdprintf works fine. Then i checked out the function that handles the command SAY_NUMBER, this function is called ha...
1997 Jul 18
2
URGENT: Update to ld.so advisory
Update to KSR[T] Advisory #002 Our advisory contained one serious piece of mis-information. The latest version of ld.so that we tested (1.9.2) still appeared to be vulnerable to this overflow. We strongly recommend that anyone running linux install the patch distributed with the advisory, or wait for your vendor to release an updated ld.so package and install that as soon as possible. The
1997 Dec 09
0
KSR[T] #005: Dillon crontab / crond
...buffer overflow. When crond attempts to run a particular cronjob, it will take the user specified command line and copy it into an automatic variable via vsprintf(). ( This is done when the function RunJob() calls fdprintf(), in job.c and subs.c respectively. ) A quick glance shows another potential overflow in subs.c, involving the logging functions. This is also fixed in the patch below. Compromise: Users with an account...
1997 Jul 17
0
KSR[T] Advisory #2: ld.so
...remap(argv0); + /* hmm, you want your own configuration, do you? */ if (getuid() == geteuid() && getgid() == getegid()) { @@ -328,6 +371,11 @@ .text section. This is passed to ldpreload() below */ if (preload || callback) { + if(nlibs==11) + { + fdprintf(2, "%s: too many preloads\n",argv[0]); + exit(EXIT_FATAL); + } libs[nlibs] = alloca(strlen(buffer)+1); strcpy(libs[nlibs], buffer); nlibs++; ---- cut here ---- ----- KSR[T] Website : http://www.dec.net/ksrt E-mail: ksrt@dec.net
2003 Dec 01
0
No subject
...cognized format specifier for `dbgtext' In file included from include/util_list.h:28, from include/includes.h:642, from smbd/server.c:22: include/smb.h:1315: unrecognized format specifier for `slprintf' include/smb.h:1325: unrecognized format specifier for `fdprintf' In file included from smbd/server.c:22: include/includes.h:1033: unrecognized format specifier for `fdprintf' include/includes.h:1035: unrecognized format specifier for `snprintf' include/includes.h:1038: unrecognized format specifier for `asprintf' *** Error code 1 Stop. What is...