diff options
author | mjl <mjl@pkgsrc.org> | 2006-08-01 12:50:23 +0000 |
---|---|---|
committer | mjl <mjl@pkgsrc.org> | 2006-08-01 12:50:23 +0000 |
commit | 67ae7f624d91e266f7fff82a95a83431842b791c (patch) | |
tree | 610a9f918d7c34a5d9923aa839cf0389411d2f9e /multimedia/ggrab/patches/patch-ac | |
parent | 599f00583a2d0bfed18451a7fef80ae96d45d6b8 (diff) | |
download | pkgsrc-67ae7f624d91e266f7fff82a95a83431842b791c.tar.gz |
Add some patches hidden in the cvs repository but not included
in the source tarball.
Also add a patch to limit the constructed output file name
to some saner length as well as increase the buffer to PATH_MAX.
An overlong EPG data could easily overflow the buffer and crash
the sserver process.
Diffstat (limited to 'multimedia/ggrab/patches/patch-ac')
-rw-r--r-- | multimedia/ggrab/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/ggrab/patches/patch-ac b/multimedia/ggrab/patches/patch-ac new file mode 100644 index 00000000000..9ed92ad6068 --- /dev/null +++ b/multimedia/ggrab/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/08/01 12:50:23 mjl Exp $ + +--- cbuffer.h.orig 2006-08-01 13:39:05.000000000 +0200 ++++ cbuffer.h 2006-08-01 13:39:14.000000000 +0200 +@@ -15,7 +15,7 @@ + CBUFPTR SearchStreamId(CBUFPTR ptr, int len, unsigned char pattern, unsigned char mask, unsigned char * p_id=0); + int GetByteCount(void); + int CopyBuffer(CBUFPTR ptr, unsigned char * pBuf, int len=16); +- int CBuffer::RemovePadding(CBUFPTR lptr, int len); ++ int RemovePadding(CBUFPTR lptr, int len); + + + private: |