Riverbed Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
3
of 3 vote

memory corruption, call stack corruption. In unix, scope is limited to these 2 inside a process. In RTOS, the corruption can span across multiple tasks/processes

- Anonymous April 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

bus error

- pxe April 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

you inadvertently overwrite some portion of memory that some pointer or a variable is pointing to when you write past array bounds

- Anonymous April 26, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Segmentation violation

- swingingiant May 04, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

if the array is on the stack:
1. Corruption of other d.s on the stack/corruption of variables on the stack
2. call stack corruption

Array in the heap:
1. heap corruption (corruption of data structures used by malloc/free etc)
2. corruption of other structures near the array on the heap

Segmentation fault - if the array is at the end of a page, or beginning of a page and you are writing into negative indices etc...

- Lokesh November 09, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More