Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
gcl (2.6.12-40) unstable; urgency=medium
.
* pathnames1.2
* Bug fix: "popen arguments not quoted causes trouble and security
issues", thanks to axel (Closes: #802203).
Author: Camm Maguire <camm@debian.org>
Bug-Debian: https://bugs.debian.org/802203
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2016-10-14
--- gcl-2.6.12.orig/o/unixfsys.c
+++ gcl-2.6.12/o/unixfsys.c
@@ -83,7 +83,7 @@ DEFUN_NEW("UID-TO-NAME",object,fSuid_to_
long r;
massert((r=sysconf(_SC_GETPW_R_SIZE_MAX))>=0);
- massert(r<sizeof(FN1));
+ massert(r<=sizeof(FN1));/*FIXME maybe once at image startup*/
massert(!getpwuid_r(uid,&pw,FN1,r,&pwent));
@@ -97,7 +97,7 @@ DEFUN_NEW("HOME-NAMESTRING",object,fShom
long r;
massert((r=sysconf(_SC_GETPW_R_SIZE_MAX))>=0);
- massert(r<sizeof(FN1));
+ massert(r<=sizeof(FN1));/*FIXME maybe once at image startup*/
if (nm->st.st_fillp==1)