Title: Samsung Enterprise Portal mySingle

Hi,

Release: readline-6.2

Machine : Linux 2.6.32-220.el6.x86_64

Explanation:

There are 3 issues, are identified for NULL dereferences may leads to segmentation fault in below function with respective file:

file name:

1. calling " char * get_history_event (stringcaller_indexdelimiting_quote)", it Dereferencing a pointer that might be null "entry" by "called current_history ();" in  file :readline-6.2/histexpand.c

2. calling " make_history_line_current (HIST_ENTRY*) ", it Dereferencing a pointer that might be null "entry" by "called current_history ();" in  file :readline-6.2/search.c

3. and  when calling "int rl_history_search_internal (count, dir)  int count, dir ; ", it Dereferencing a pointer that might be null "temp"  by "called current_history (); "in  file :readline-6.2/search.c

Solution:

So ,I have applied a fixes for NULL Check .the respective patches has been attached. 

Please review it and give your concern.

---

Regards,

Pankaj Sharma, Ravish Sachdeva

Samsung India Electronics Pvt. Ltd.

 

Attachment: readline-6.2.patch
Description: Binary data

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to