Displaying 20 results from an estimated 40 matches for "n_bytes".
Did you mean:
in_bytes
2013 Oct 20
29
[Bug 2163] New: unchecked returned value from pam_get_item()
https://bugzilla.mindrot.org/show_bug.cgi?id=2163
Bug ID: 2163
Summary: unchecked returned value from pam_get_item()
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5
Component: PAM support
Assignee: unassigned-bugs at
2007 Mar 28
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_sprite.c libswfdec/swfdec_tag.c
...wfdecBits * bit
matrix->y0 = swfdec_bits_getsbits (bits, n_translate_bits);
swfdec_matrix_ensure_invertible (matrix, inverse);
+ swfdec_bits_syncbits (bits);
}
char *
@@ -488,7 +485,7 @@ swfdec_bits_skip_string (SwfdecBits *bit
guint
swfdec_bits_skip_bytes (SwfdecBits *bits, guint n_bytes)
{
- swfdec_bits_syncbits (bits);
+ g_assert (bits->idx == 0);
if ((guint) (bits->end - bits->ptr) < n_bytes) {
SWFDEC_WARNING ("supposed to skip %u bytes, but only %td available",
n_bytes, bits->end - bits->ptr);
@@ -597,13 +594,13 @@ swfdec_bits_get_rect (...
2007 Feb 13
0
libswfdec/jpeg libswfdec/swfdec_image.c
...bits.h
@@ -3,132 +3,118 @@
#define __BITS_H__
typedef struct bits_struct bits_t;
-struct bits_struct
-{
- unsigned char *ptr;
- int idx;
- unsigned char *end;
+struct bits_struct {
+ unsigned char *ptr;
+ int idx;
+ unsigned char *end;
};
-static inline int
-bits_needbits (bits_t * b, int n_bytes)
+static inline int bits_needbits(bits_t *b, int n_bytes)
{
- if (b->ptr == NULL)
- return 1;
- if (b->ptr + n_bytes > b->end)
- return 1;
+ if(b->ptr==NULL)return 1;
+ if(b->ptr + n_bytes > b->end)return 1;
- return 0;
+ return 0;
}
-static inline int
-getbit...
2007 Apr 17
0
8 commits - configure.ac doc/Makefile.am libswfdec/jpeg libswfdec/swfdec_debug.h libswfdec/swfdec_image.c
...00644
index 95f4e90..0000000
--- a/libswfdec/jpeg/bits.h
+++ /dev/null
@@ -1,120 +0,0 @@
-
-#ifndef __BITS_H__
-#define __BITS_H__
-
-typedef struct bits_struct bits_t;
-struct bits_struct {
- unsigned char *ptr;
- int idx;
- unsigned char *end;
-};
-
-static inline int bits_needbits(bits_t *b, int n_bytes)
-{
- if(b->ptr==NULL)return 1;
- if(b->ptr + n_bytes > b->end)return 1;
-
- return 0;
-}
-
-static inline int getbit(bits_t *b)
-{
- int r;
-
- r = ((*b->ptr)>>(7-b->idx))&1;
-
- b->idx++;
- if(b->idx>=8){
- b->ptr++;
- b->idx = 0;
- }
-
- return r;
-}...
2001 Jun 05
1
OpenSSH tmp cleanup
Hi,
I noticed that Markus has fixed the temporary file cleanup problems in
OpenSSH cvs. What files need patching for this ? I only noticed
changes in: session.c, channels.h and channels.c.
-Jarno
--
Jarno Huuskonen <Jarno.Huuskonen at uku.fi>
2007 Mar 19
0
7 commits - libswfdec/jpeg libswfdec/swfdec_button_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_video.c player/swfdec_debug_movies.c
..., int *rowstride);
unsigned char *jpeg_decoder_get_argb_image (JpegDecoder *dec);
diff --git a/libswfdec/jpeg/test.c b/libswfdec/jpeg/test.c
index 0ebdae0..c5614ec 100644
--- a/libswfdec/jpeg/test.c
+++ b/libswfdec/jpeg/test.c
@@ -10,7 +10,7 @@
/* getfile */
void *getfile (char *path, int *n_bytes);
-static void dump_pgm (unsigned char *ptr, int rowstride, int width, int height);
+static void dump_pgm (const unsigned char *ptr, int rowstride, int width, int height);
int
@@ -20,7 +20,7 @@ main (int argc, char *argv[])
int len;
JpegDecoder *dec;
char *fn = "biglebowski.jpg&q...
2004 Aug 27
0
Terminal modes
...ion_new: init
debug1: session_new: session 0
debug3: mm_request_send entering: type 26
debug3: Trying to reverse map address 10.4.1.27.
debug3: mm_answer_pty: tty /dev/pts/3 ptyfd 4
debug3: mm_request_receive entering
debug1: session_pty_req: session 0 alloc /dev/pts/3
debug3: tty_parse_modes: SSH2 n_bytes 21
debug3: tty_parse_modes: 53 0
debug3: tty_parse_modes: 54 0
debug3: tty_parse_modes: 55 0
debug3: tty_parse_modes: 56 0
debug1: server_input_channel_req: channel 0 request shell reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
debug2:...
2004 Aug 31
0
Terminal mode (repost)
...ion_new: init
debug1: session_new: session 0
debug3: mm_request_send entering: type 26
debug3: Trying to reverse map address 10.4.1.27.
debug3: mm_answer_pty: tty /dev/pts/3 ptyfd 4
debug3: mm_request_receive entering
debug1: session_pty_req: session 0 alloc /dev/pts/3
debug3: tty_parse_modes: SSH2 n_bytes 21
debug3: tty_parse_modes: 53 0
debug3: tty_parse_modes: 54 0
debug3: tty_parse_modes: 55 0
debug3: tty_parse_modes: 56 0
debug1: server_input_channel_req: channel 0 request shell reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
debug2:...
2008 Oct 16
2
5.1p on RHEL 3 and password expiration
..._reply 0
debug1: server_input_channel_req: channel 0 request pty-req reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pts/2
debug3: tty_parse_modes: SSH2 n_bytes 256
debug3: tty_parse_modes: ospeed 38400
debug3: tty_parse_modes: ispeed 38400
debug1: server_input_channel_req: channel 0 request shell reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req shell
debug1: Setting controlling tty using...
2002 Jun 05
0
new problem with shell closing as soon as its launched under HP-U X 10.20
...pen: confirm session
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pts/0
debug3: tty_parse_modes: SSH2 n_bytes 266
debug3: tty_parse_modes: ospeed 9600
debug3: tty_parse_modes: ispeed 0
debug3: tty_parse_modes: 1 3
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 8
debug3: tty_parse_modes: 4 21
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 0
debug3: tty_parse_modes: 7 0
debug3: tty_parse_m...
2007 Sep 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_scope.c libswfdec/swfdec_as_scope.h libswfdec/swfdec_as_script_function.c
...del = swfdec_as_with_delete;
- asobject_class->foreach = swfdec_as_with_foreach;
- asobject_class->resolve = swfdec_as_with_resolve;
-}
-
-static void
-swfdec_as_with_init (SwfdecAsWith *with)
-{
-}
-
-SwfdecAsScope *
-swfdec_as_with_new (SwfdecAsObject *object, const guint8 *startpc, guint n_bytes)
-{
- SwfdecAsContext *context;
- SwfdecAsFrame *frame;
- SwfdecAsScope *scope;
- SwfdecAsWith *with;
-
- g_return_val_if_fail (SWFDEC_IS_AS_OBJECT (object), NULL);
-
- context = object->context;
- if (!swfdec_as_context_use_mem (context, sizeof (SwfdecAsWith)))
- return NULL;
- with...
2002 Feb 12
1
SSH Client Hangs after logging in to SSHD
I'm not a ssh expert and I don't know if the log is good or bad, but I too am
running OpenSHH under OpenServer. I find that after I connect, the return key
has no effect unless I first type:
stty sane <Ctrl>j
If you've hit <ENTER> before that you must first press <Ctrl>j a couple of times
to clean out the buffer. After I type the above command, everything
2003 Jul 11
0
OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + PasswordAuthenticatio n no + PermitEmptyPasswords yes (followup)
...pen: confirm session
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pts/2
debug3: tty_parse_modes: SSH2 n_bytes 251
debug3: tty_parse_modes: ospeed 9600
debug3: tty_parse_modes: ispeed 9600
debug3: tty_parse_modes: 1 3
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 127
debug3: tty_parse_modes: 4 21
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 255
debug3: tty_parse_modes: 7 255
debug3: tt...
2003 Jul 17
1
possible bug + patch : OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + P asswordAuthentication no + PermitEmptyPasswords yes
...pen: confirm session
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pts/2
debug3: tty_parse_modes: SSH2 n_bytes 251
debug3: tty_parse_modes: ospeed 9600
debug3: tty_parse_modes: ispeed 9600
debug3: tty_parse_modes: 1 3
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 127
debug3: tty_parse_modes: 4 21
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 255
debug3: tty_parse_modes: 7 255
debug3: tt...
2007 Jun 05
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_scope.h
...gs = swfdec_as_with_set_flags;
+ asobject_class->delete = swfdec_as_with_delete;
+ asobject_class->foreach = swfdec_as_with_foreach;
+}
+
+static void
+swfdec_as_with_init (SwfdecAsWith *with)
+{
+}
+
+SwfdecAsScope *
+swfdec_as_with_new (SwfdecAsObject *object, const guint8 *startpc, guint n_bytes)
+{
+ SwfdecAsContext *context;
+ SwfdecAsFrame *frame;
+ SwfdecAsScope *scope;
+ SwfdecAsWith *with;
+
+ g_return_val_if_fail (SWFDEC_IS_AS_OBJECT (object), NULL);
+
+ context = object->context;
+ if (!swfdec_as_context_use_mem (context, sizeof (SwfdecAsWith)))
+ return NULL;
+ with...
2013 Jan 31
2
OpenSSH NoPty patch
...P ToS/DSCP/class for interactive */
diff -rupN openssh-6.1p1/session.c openssh-6.1p1-new/session.c
--- openssh-6.1p1/session.c 2012-04-22 01:08:10.000000000 +0000
+++ openssh-6.1p1-new/session.c 2013-01-31 17:07:50.000000000 +0000
@@ -2018,7 +2018,7 @@ session_pty_req(Session *s)
u_int len;
int n_bytes;
- if (no_pty_flag) {
+ if (no_pty_flag || options.no_pty) {
debug("Allocating a pty not permitted for this authentication.");
return 0;
}
diff -rupN openssh-6.1p1/sshd_config openssh-6.1p1-new/sshd_config
--- openssh-6.1p1/sshd_config 2012-07-31 02:21:34.000000000 +0000
+++ ope...
2002 May 06
2
X11 forwarding does not work as normal user
We installed openssh 3.1p1 on our Solaris 2.8 machine using gcc 2.95.2. During
the installation, we modified ssh_config and sshd_config to enable X11 and
agent forwarding.
In sshd_config, we changed the following line to read:
X11Forwarding yes
In ssh_config, we changed the following two lines to read:
ForwardAgent yes
ForwardX11 yes
Both files are set to permission readable
2003 Oct 07
1
[Bug 731] sshd terminates a session after a successful login
...pen: confirm session
debug1: server_input_channel_req: channel 0 request pty-req reply 0
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req pty-req
debug1: Allocating pty.
debug1: session_pty_req: session 0 alloc /dev/pts/6
debug3: tty_parse_modes: SSH2 n_bytes 266
debug3: tty_parse_modes: ospeed 9600
debug3: tty_parse_modes: ispeed 9600
debug3: tty_parse_modes: 1 127
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 8
debug3: tty_parse_modes: 4 24
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 0
debug3: tty_parse_modes: 7 0
debug3: tty_pa...
2003 Jan 21
3
X11 forwarding problem -- openssh-3.5p1 -- redhat 8.0 -- linux 2.4.18
...3: mm_pty_allocate: waiting for MONITOR_ANS_PTY
debug3: mm_request_receive_expect entering: type 26
debug3: mm_request_receive entering
debug1: session_pty_req: session 0 alloc /dev/pts/4
debug3: mm_answer_pty: tty /dev/pts/4 ptyfd 3
debug3: mm_request_receive entering
debug3: tty_parse_modes: SSH2 n_bytes 251
debug3: tty_parse_modes: ospeed 38400
debug3: tty_parse_modes: ispeed 38400
debug3: tty_parse_modes: 1 3
debug3: tty_parse_modes: 2 28
debug3: tty_parse_modes: 3 8
debug3: tty_parse_modes: 4 21
debug3: tty_parse_modes: 5 4
debug3: tty_parse_modes: 6 255
debug3: tty_parse_modes: 7 255
debug3: tt...
2001 May 24
4
bug report
On Wed, May 23, 2001 at 10:49:54PM -0400, mugz wrote:
>
> I'm always a bit slow to report bugs i see, figuing someone else will
> report it and that it will eventually get fixed. This one has been
> somewhat of a problem for a while now. I run Linux Slackware -current and
> just upgraded to OpenSSH 2.9p1, but I have noticed this same bug on every
> platform and OS running