Code review comment for lp:~schuster/mysql-proxy/filemode

Revision history for this message
Jan Kneschke (jan-kneschke) wrote :

> chassis.c: In function 'main_cmdline':
> chassis.c:509: warning: implicit declaration of function
> 'chassis_filemode_check'
> chassis-filemode.c: In function 'chassis_filemode_check':
> chassis-filemode.c:44: warning: implicit declaration of function 'strerror'
> chassis-filemode.c:44: warning: format '%s' expects type 'char *', but
> argument 6 has type 'int'

... which leads to:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000824d2df0
0x00007fff82390cc0 in strlen ()
#6 0x00000001000398d4 in g_log ()
#7 0x00000001000016e9 in chassis_filemode_check (filename=0x100001906 "/tmp/a_non_existent_file") at ../../src/chassis-filemode.c:44
#8 0x00000001000013e7 in test_file_permissions () at check_chassis_filemode.c:48

« Back to merge proposal