Menu

#25 will not start if a nonreadable directory specified

4.6.4
closed-fixed
rodent (23)
1
2011-07-25
2011-05-31
No

Say /root is not readable by user and user does a "rodent /root"
Rodent will not start and will generate a core dump:

Core was generated by `rodent /root'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f5cb1a6e0ae in rodent_find_in_population (view_p=0x68f700, x=0, y=0)
at ../../libs/rfm/libs/rodent_population.c:105
105 population_p = *(view_p->population_pp + element);
(gdb) where
#0 0x00007f5cb1a6e0ae in rodent_find_in_population (view_p=0x68f700, x=0, y=0)
at ../../libs/rfm/libs/rodent_population.c:105
#1 0x00007f5cb1a6fc38 in rodent_full_reload_view (data=0x68f700, target_en=0x686130)
at ../../libs/rfm/libs/rodent_population.c:874
#2 0x00007f5cb20b39a2 in create_gridview () at ../../libs/rfm/iconview/gridview.c:134
#3 0x0000000000402dcc in main (argc=2, argv=0x608270) at ../../src/rfm/fm/rodent.c:383
(gdb) print view_p->population_pp
$1 = (population_t **) 0x718470
(gdb) print element
$2 = -2147483648

Discussion

  • Edscott Wilson Garcia

    fixed

     
  • Edscott Wilson Garcia

    • priority: 5 --> 1
    • status: open --> closed-fixed
     

Log in to post a comment.

Auth0 Logo