summaryrefslogtreecommitdiffstats
path: root/src/Hooks/abrt-pyhook-helper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Size of uid depends on sizeof(int)Karel Klic2009-11-121-2/+2
|
* pyhook-helper: uid taken from system instead of command lineKarel Klic2009-11-111-8/+6
|
* small fix: forgot to terminate longopts[]Denys Vlasenko2009-10-311-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix segfault on "abrt-pyhook-helper -p X </dev/null" (use of uninitialized ↵Denys Vlasenko2009-10-311-71/+61
| | | | | | | | | | | | variiable) Converted to getopt (argp_parse is a GNUism), it's smaller now: text data bss dec hex filename 6461 1364 64 7889 1ed1 old/abrt-pyhook-helper 6579 876 128 7583 1d9f new/abrt-pyhook-helper Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix a bug where after realloc we may scribble over uninitialized memoryDenys Vlasenko2009-10-311-32/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* src/CLI/*: fix an unterminated argv + simplificationsDenys Vlasenko2009-10-311-6/+6
| | | | | | | | | | | | | | | The fix is: - const char *args[6]; - args[0] = editor; - args[1] = path; + char *args[3]; + args[0] = (char*)editor; + args[1] = (char*)path; + args[2] = NULL; run_command(args); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Python backtrace size limited to 1 MBKarel Klic2009-10-301-3/+9
|
* fixes based on review by DenysKarel Klic2009-10-301-19/+23
|
* Initial implementation of abrt-pyhook-helperKarel Klic2009-10-221-0/+138