Bug 4960

Summary: static arrays?
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: procpsAssignee: Mikhail Efremov <sem>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: inger, ldv, sem
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2004-08-09 20:06:47 MSD
http://radu.rendec.ines.ro/howto/32groups.html (4) -- is there a potential for
buffer overflow (in normal situation, with crappy 32-group limitation)?

That is, can groupname be longer that 512/32 = 16 bytes?
Comment 1 Dmitry V. Levin 2005-08-24 14:23:56 MSD
I'll have a look.
Comment 2 Dmitry V. Levin 2005-08-26 02:07:12 MSD
1. No, libproc operates with group numbers.
2. Raised sbuf size in procps-3.2.5-alt1 as suggested by Radu Constantin Rendec.
Comment 3 Michael Shigorin 2005-08-30 02:24:38 MSD
closing
Comment 4 Michael Shigorin 2005-08-30 02:36:01 MSD
closing